See title, Thanks in advance.
Since CreateAndJoinNetwork doesn’t have a parameter that can be used for region specified, so, you cannot specify a region when you call CreateAndJoinNetwork method. And Party Unity plugin doesn’t provide method to let you specify the region for the network, you may post a feature request for it.
How about a workaround? I see PartyCreateNewNetwork below takes a region array as input. Can we supply a region here? Forgive me, my C# is limited. Do you have sample code?
var invitationIdentifier = dc.Add(new DisposableBuffer(checked(PartyConstants.c_maxInvitationIdentifierStringLength + 1))).IntPtr;
Interop.PARTY_NETWORK_DESCRIPTOR interopNetworkDescriptor;
unsafe
{
err = PFPInterop.PartyCreateNewNetwork(
handle.InteropHandle,
localUser.InteropHandle,
&networkConfig,
arrayCount.ToUInt32(),
regionArray,
&inviteConfig,
asyncId,
out interopNetworkDescriptor,
invitationIdentifier);
}
32 People are following this question.