示例#1
0
 internal unsafe static extern UInt32 PartyCreateNewNetwork(
     PARTY_HANDLE handle,
     PARTY_LOCAL_USER_HANDLE localUser,
     PARTY_NETWORK_CONFIGURATION *networkConfiguration,
     UInt32 regionCount,
     IntPtr regions,
     PARTY_INVITATION_CONFIGURATION *initialInvitationConfiguration,
     IntPtr asyncIdentifier,
     out PARTY_NETWORK_DESCRIPTOR networkDescriptor,
     IntPtr appliedInitialInvitationIdentifier);
示例#2
0
 internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_HANDLE interopHandle, out PARTY_HANDLE handle)
 {
     if (PartyError.SUCCEEDED(error))
     {
         handle = new PARTY_HANDLE(interopHandle);
     }
     else
     {
         handle = default(PARTY_HANDLE);
     }
     return(error);
 }
示例#3
0
 unsafe internal static extern UInt32 PartyGetNetworks(
     PARTY_HANDLE handle,
     out UInt32 networkCount,
     out IntPtr networks);
示例#4
0
 internal static extern UInt32 PartyCreateLocalUser(
     PARTY_HANDLE handle,
     Byte[] entityId,
     Byte[] titlePlayerEntityToken,
     out PARTY_LOCAL_USER_HANDLE localUser);
示例#5
0
 internal static extern UInt32 PartyCleanup(
     PARTY_HANDLE handle);
示例#6
0
 unsafe internal static extern UInt32 PartyGetLocalUsers(
     PARTY_HANDLE handle,
     out UInt32 userCount,
     out IntPtr users);
示例#7
0
 internal static extern UInt32 PartyGetLocalDevice(
     PARTY_HANDLE handle,
     out PARTY_DEVICE_HANDLE localDevice);
示例#8
0
 unsafe internal static extern UInt32 PartyStartProcessingStateChanges(
     PARTY_HANDLE handle,
     out UInt32 stateChangeCount,
     out IntPtr stateChanges);
示例#9
0
 internal static extern UInt32 PartyInitialize(
     Byte[] titleId,
     out PARTY_HANDLE handle);
示例#10
0
 internal static extern UInt32 PartyDestroyLocalUser(
     PARTY_HANDLE handle,
     PARTY_LOCAL_USER_HANDLE localUser,
     IntPtr asyncIdentifier);
示例#11
0
 unsafe internal static extern UInt32 PartyGetRegions(
     PARTY_HANDLE handle,
     out UInt32 regionListCount,
     out IntPtr regionList);
示例#12
0
 unsafe internal static extern UInt32 PartyConnectToNetwork(
     PARTY_HANDLE handle,
     PARTY_NETWORK_DESCRIPTOR *networkDescriptor,
     IntPtr asyncIdentifier,
     out PARTY_NETWORK_HANDLE network);
示例#13
0
 unsafe internal static extern UInt32 PartyFinishProcessingStateChanges(
     PARTY_HANDLE handle,
     UInt32 stateChangeCount,
     IntPtr stateChanges);
示例#14
0
 unsafe internal static extern UInt32 PartyGetChatControls(
     PARTY_HANDLE handle,
     out UInt32 chatControlCount,
     out IntPtr chatControls);
示例#15
0
 internal static extern UInt32 PartySynchronizeMessagesBetweenEndpoints(
     PARTY_HANDLE handle,
     UInt32 endpointCount,
     [In] PARTY_ENDPOINT_HANDLE[] endpoints,
     PARTY_SYNCHRONIZE_MESSAGES_BETWEEN_ENDPOINTS_OPTIONS options,
     IntPtr asyncIdentifier);
示例#16
0
 internal PARTY_HANDLE(Interop.PARTY_HANDLE interopHandle)
 {
     this.InteropHandle = interopHandle;
 }