Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SocialComponent.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
SocialComponentClass
:
GameComponentClass
13
{
14
}
15
21
class
SocialComponent:
GameComponent
22
{
23
ref
ScriptInvoker<int>
m_OnBlockedPlayerJoinedInvoker
=
new
ScriptInvoker<int>
();
24
ref
ScriptInvoker<int, bool>
m_OnReportPlayerFinishInvoker
=
new
ScriptInvoker<int, bool>
();
25
29
static
proto
bool
IsPrivilegedTo(
EUserInteraction
interaction);
36
static
proto
bool
RequestSocialPrivilege(
EUserInteraction
interaction,
PrivilegeCallback
cb);
40
static
proto
bool
IsMultiplayerAllowed();
46
static
proto
bool
RequestMultiplayerPrivilege(
PrivilegeCallback
cb);
51
proto external
bool
IsRestricted
(
int
otherPlayerID,
EUserInteraction
interaction);
56
proto external
bool
IsBlocked
(
int
otherPlayerID);
61
proto external
bool
CanUnblock
(
int
otherPlayerID);
67
proto external
bool
IsMuted
(
int
otherPlayerID);
72
proto external
void
SetMuted
(
int
otherPlayerID,
bool
mute);
76
proto external
void
ReportPlayer
(
int
reportedPlayerID,
SCR_EReportReason
reason
);
77
78
// callbacks
79
81
event
protected
void
OnBlockedPlayerJoined
(
int
joinedPlayerID) {
m_OnBlockedPlayerJoinedInvoker
.Invoke(joinedPlayerID); };
83
event
protected
void
OnReportPlayerFinish
(
int
reportedPlayerID,
bool
success) {
m_OnReportPlayerFinishInvoker
.Invoke(reportedPlayerID, success); };
84
}
85
reason
string reason
Definition
ServerBrowserMenuCallbacks.c:41
GameComponentClass
Definition
GameComponentClass.c:8
GameComponent
Definition
GameComponent.c:13
PrivilegeCallback
Definition
PrivilegeCallback.c:8
SocialComponentClass
Definition
SocialComponent.c:13
SetMuted
proto external void SetMuted(int otherPlayerID, bool mute)
CanUnblock
proto external bool CanUnblock(int otherPlayerID)
OnBlockedPlayerJoined
void OnBlockedPlayerJoined(int joinedPlayerID)
Event invoked when player present on a platform or game blocklist joins the server.
Definition
SocialComponent.c:81
ReportPlayer
proto external void ReportPlayer(int reportedPlayerID, SCR_EReportReason reason)
IsMuted
proto external bool IsMuted(int otherPlayerID)
m_OnBlockedPlayerJoinedInvoker
SocialComponentClass m_OnBlockedPlayerJoinedInvoker
IsBlocked
proto external bool IsBlocked(int otherPlayerID)
m_OnReportPlayerFinishInvoker
ref ScriptInvoker< int, bool > m_OnReportPlayerFinishInvoker
Definition
SocialComponent.c:24
EUserInteraction
EUserInteraction
Interaction type between two players.
Definition
EUserInteraction.c:14
SCR_EReportReason
SCR_EReportReason
Player report reason.
Definition
SCR_EReportReason.c:14
OnReportPlayerFinish
void OnReportPlayerFinish(int reportedPlayerID, bool success)
Event invoked as a result of ReportPlayer.
Definition
SocialComponent.c:83
IsRestricted
proto external bool IsRestricted(int otherPlayerID, EUserInteraction interaction)
ScriptInvoker
ScriptInvokerBase< func > ScriptInvoker
Definition
tools.c:134
scripts
Game
generated
Player
SocialComponent.c
Generated by
1.17.0