Ejemplo n.º 1
0
 public static void HandleCustomRpc(byte?playerId, CustomRpcType rpcType)
 {
     Rpc <CustomRpc> .Instance.Send(new Data(playerId, rpcType));
 }
Ejemplo n.º 2
0
 public Data(byte?playerId, CustomRpcType rpcType)
 {
     PlayerId = playerId ?? byte.MaxValue;
     RpcType  = rpcType;
 }