Example #1
0
        public PARTY_CHAT_PERMISSION_OPTIONS GetChatPermissions(PlayFabPlayer targetPlayer)
        {
            PlayFabMultiplayerManager._LogInfo("PlayFabChatXboxLivePolicyProvider:GetChatPermissions()");

            PARTY_CHAT_PERMISSION_OPTIONS chatPermissions = _CHAT_PERMISSIONS_ALL;

            if (_playerChatPermissions.ContainsKey(targetPlayer))
            {
                chatPermissions = _playerChatPermissions[targetPlayer].ChatPermissionMask;
            }
            PlayFabMultiplayerManager._LogInfo("PlayFabChatXboxLivePolicyProvider:get chat permissions for EntityId: " + targetPlayer.EntityKey.Id + ", chat permissions: " + chatPermissions);

            return(chatPermissions);
        }
Example #2
0
 internal PARTY_XBL_CHAT_PERMISSION_INFO(PartyXBLCSharpSDK.PARTY_XBL_CHAT_PERMISSION_INFO publicObject)
 {
     this.chatPermissionMask = publicObject.ChatPermissionMask;
     this.reason             = publicObject.Reason;
 }
Example #3
0
 internal static extern UInt32 PartyChatControlGetPermissions(
     PARTY_CHAT_CONTROL_HANDLE chatControl,
     PARTY_CHAT_CONTROL_HANDLE targetChatControl,
     out PARTY_CHAT_PERMISSION_OPTIONS chatPermissionOptions);