Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
|
||||
namespace MLAPI.Messaging
|
||||
{
|
||||
public struct ServerRpcSendParams
|
||||
{
|
||||
public NetworkUpdateStage UpdateStage;
|
||||
}
|
||||
|
||||
public struct ServerRpcReceiveParams
|
||||
{
|
||||
public NetworkUpdateStage UpdateStage;
|
||||
public ulong SenderClientId;
|
||||
}
|
||||
|
||||
public struct ServerRpcParams
|
||||
{
|
||||
public ServerRpcSendParams Send;
|
||||
public ServerRpcReceiveParams Receive;
|
||||
}
|
||||
|
||||
public struct ClientRpcSendParams
|
||||
{
|
||||
public NetworkUpdateStage UpdateStage;
|
||||
public ulong[] TargetClientIds;
|
||||
}
|
||||
|
||||
public struct ClientRpcReceiveParams
|
||||
{
|
||||
public NetworkUpdateStage UpdateStage;
|
||||
}
|
||||
|
||||
public struct ClientRpcParams
|
||||
{
|
||||
public ClientRpcSendParams Send;
|
||||
public ClientRpcReceiveParams Receive;
|
||||
}
|
||||
|
||||
#if UNITY_2020_2_OR_NEWER
|
||||
// RuntimeAccessModifiersILPP will make this `public`
|
||||
internal struct __RpcParams
|
||||
#else
|
||||
[Obsolete("Please do not use, will no longer be exposed in the future versions (framework internal)")]
|
||||
public struct __RpcParams
|
||||
#endif
|
||||
{
|
||||
public ServerRpcParams Server;
|
||||
public ClientRpcParams Client;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue