Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SocialComponent.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
21class SocialComponent: GameComponent
22{
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
proto external void SetMuted(int otherPlayerID, bool mute)
proto external bool CanUnblock(int otherPlayerID)
void OnBlockedPlayerJoined(int joinedPlayerID)
Event invoked when player present on a platform or game blocklist joins the server.
proto external void ReportPlayer(int reportedPlayerID, SCR_EReportReason reason)
proto external bool IsMuted(int otherPlayerID)
SocialComponentClass m_OnBlockedPlayerJoinedInvoker
proto external bool IsBlocked(int otherPlayerID)
ref ScriptInvoker< int, bool > m_OnReportPlayerFinishInvoker
EUserInteraction
Interaction type between two players.
SCR_EReportReason
Player report reason.
void OnReportPlayerFinish(int reportedPlayerID, bool success)
Event invoked as a result of ReportPlayer.
proto external bool IsRestricted(int otherPlayerID, EUserInteraction interaction)
ScriptInvokerBase< func > ScriptInvoker
Definition tools.c:134