Exemplo n.º 1
0
 public void Deserialize(NetDataReader reader)
 {
     PlayerId      = reader.GetUShort();
     LocalPlanetId = reader.GetInt();
     Color         = reader.GetFloat3();
     UPosition     = reader.GetDouble3();
     Rotation      = reader.GetFloat3();
     BodyRotation  = reader.GetFloat3();
 }
Exemplo n.º 2
0
 public void Deserialize(NetDataReader reader)
 {
     Username            = reader.GetString();
     PlayerId            = reader.GetUShort();
     LocalPlanetId       = reader.GetInt();
     MechaColor          = reader.GetFloat3();
     LocalPlanetPosition = reader.GetFloat3();
     UPosition           = reader.GetDouble3();
     Rotation            = reader.GetFloat3();
     BodyRotation        = reader.GetFloat3();
     Mecha = new MechaData();
     Mecha.Deserialize(reader);
 }