Example #1
0
 internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_XBL_CHAT_USER_HANDLE interopHandle, out PARTY_XBL_CHAT_USER_HANDLE handle)
 {
     if (PartyError.SUCCEEDED(error))
     {
         handle = new PARTY_XBL_CHAT_USER_HANDLE(interopHandle);
     }
     else
     {
         handle = default(PARTY_XBL_CHAT_USER_HANDLE);
     }
     return(error);
 }
 internal static extern UInt32 PartyXblLocalChatUserGetAccessibilitySettings(
     PARTY_XBL_CHAT_USER_HANDLE handle,
     out PARTY_XBL_ACCESSIBILITY_SETTINGS settings);
 unsafe internal static extern UInt32 PartyXblLocalChatUserGetCrossNetworkCommunicationPrivacySetting(
     PARTY_XBL_CHAT_USER_HANDLE handle,
     out PARTY_XBL_CROSS_NETWORK_COMMUNICATION_PRIVACY_SETTING setting);
 internal static extern UInt32 PartyXblDestroyChatUser(
     PARTY_XBL_HANDLE handle,
     PARTY_XBL_CHAT_USER_HANDLE chatUser);
 internal static extern UInt32 PartyXblGetEntityIdsFromXboxLiveUserIds(
     PARTY_XBL_HANDLE handle,
     UInt32 xboxLiveUserIdCount,
     UInt64[] xboxLiveUserIds,
     PARTY_XBL_CHAT_USER_HANDLE localChatUser,
     IntPtr asyncIdentifier);
 internal static extern UInt32 PartyXblLocalChatUserGetRequiredChatPermissionInfo(
     PARTY_XBL_CHAT_USER_HANDLE handle,
     PARTY_XBL_CHAT_USER_HANDLE targetChaUser,
     out PARTY_XBL_CHAT_PERMISSION_INFO chatPermissionInfo);
 internal static extern UInt32 PartyXblCreateLocalChatUser(
     PARTY_XBL_HANDLE handle,
     UInt64 xboxUserId,
     IntPtr asyncIdentifier,
     out PARTY_XBL_CHAT_USER_HANDLE localXboxLiveUser);
 internal static extern UInt32 PartyXblChatUserGetCustomContext(
     PARTY_XBL_CHAT_USER_HANDLE handle,
     out IntPtr customContext);
 internal static extern UInt32 PartyXblChatUserIsLocal(
     PARTY_XBL_CHAT_USER_HANDLE handle,
     out Byte isLocal);
 internal static extern UInt32 PartyXblCreateRemoteChatUser(
     PARTY_XBL_HANDLE handle,
     UInt64 xboxUserId,
     out PARTY_XBL_CHAT_USER_HANDLE chatUser);
 internal static extern UInt32 PartyXblLoginToPlayFab(
     PARTY_XBL_CHAT_USER_HANDLE localChatUser,
     IntPtr asyncIdentifier);
 internal static extern UInt32 PartyXblChatUserGetXboxUserId(
     PARTY_XBL_CHAT_USER_HANDLE handle,
     out UInt64 xboxUserId);
Example #13
0
 internal PARTY_XBL_CHAT_USER_HANDLE(Interop.PARTY_XBL_CHAT_USER_HANDLE interopHandle)
 {
     this.InteropHandle = interopHandle;
 }