예제 #1
0
 public void Deserialize(uint tick, ref DataStreamReader reader, VoxelStencilInput baseline, NetworkCompressionModel compressionModel)
 {
     this.Tick     = tick;
     this.fillType = reader.ReadByte() == 1;
     this.centerX  = reader.ReadPackedFloat(compressionModel);
     this.centerY  = reader.ReadPackedFloat(compressionModel);
     this.radius   = reader.ReadPackedFloat(compressionModel);
     this.shape    = (VoxelShape)reader.ReadPackedInt(compressionModel);
     Deserialize(tick, ref reader);
 }