示例#1
0
 public void Deserialize(NetDataReader reader)
 {
     guid        = reader.GetGuid();
     position    = reader.GetVector3();
     eulerAngles = reader.GetVector3();
     ourPlayer   = reader.GetBool();
 }
示例#2
0
 public virtual void Deserialize(NetDataReader reader)
 {
     if (extraVariables == null)
     {
         this.extraVariables = new NetDictionary <NetString, NetString>();
     }
     this.extraVariables.Deserialize(reader);
     this.GUID = reader.GetGuid();
 }