public static PlayFabChatXboxLivePolicyProvider Get() { if (_xblPolicyProvider == null) { _xblPolicyProvider = new PlayFabChatXboxLivePolicyProvider(); } return(_xblPolicyProvider); }
public bool CleanUp() { PlayFabMultiplayerManager._LogInfo("PlayFabChatXboxLivePolicyProvider:CleanUp()"); bool succeeded = true; succeeded = Succeeded(XBLSDK.PartyXblCleanup(_xblPartyHandle)); _xblPolicyProvider = null; _playerChatPermissions = null; _xblStateChanges = null; _queuedCreateRemoteXboxLiveChatUserOps = null; _internalXuidExchangeMessageBuffer = null; _XUID_EXCHANGE_REQUEST_AS_BYTES = null; _XUID_EXCHANGE_RESPONSE_AS_BYTES = null; _xblLocalChatUserHandle = null; _xblPartyHandle = null; return(succeeded); }