Ejemplo n.º 1
0
 void RpcOnAnimationClientMessage(int stateHash, float normalizedTime, int layerId, float weight, byte[] parameters)
 {
     using (PooledNetworkReader networkReader = NetworkReaderPool.GetReader(parameters))
         HandleAnimMsg(stateHash, normalizedTime, layerId, weight, networkReader);
 }
Ejemplo n.º 2
0
 void RpcOnAnimationParametersClientMessage(byte[] parameters)
 {
     using (PooledNetworkReader networkReader = NetworkReaderPool.GetReader(parameters))
         HandleAnimParamsMsg(networkReader);
 }
Ejemplo n.º 3
0
 /// <summary>Returns a reader to the pool.</summary>
 public static void Recycle(PooledNetworkReader reader)
 {
     Pool.Return(reader);
 }