Esempio n. 1
0
 void IProtocolToken.Write(UdpPacket packet)
 {
     packet.WriteVector3(this.Scale);
     packet.WriteVector3(this.HipPosition);
     packet.WriteQuaternion(this.HipRotation);
     packet.WriteInt(this.MaterialIndex);
     packet.WriteFloat(this.skinDamage1);
     packet.WriteFloat(this.skinDamage2);
     packet.WriteFloat(this.skinDamage3);
     packet.WriteFloat(this.skinDamage4);
     packet.WriteColorRGBA(this.skinColor);
     if (packet.WriteBool(this.OriginalMutant && this.OriginalMutant.IsAttached()))
     {
         packet.WriteBoltEntity(this.OriginalMutant);
     }
     packet.WriteBool(this.Skinny);
     packet.WriteInt(this.Props);
 }