Esempio n. 1
0
 public virtual void Deserialize(ICustomDataInput reader)
 {
     look = new EntityLook();
     look.Deserialize(reader);
     index = reader.ReadSByte();
     if (index < 0)
     {
         throw new Exception("Forbidden value on index = " + index + ", it doesn't respect the following condition : index < 0");
     }
 }
Esempio n. 2
0
 public virtual void Deserialize(ICustomDataInput reader)
 {
     bindingPointCategory = reader.ReadSByte();
     if (bindingPointCategory < 0)
     {
         throw new Exception("Forbidden value on bindingPointCategory = " + bindingPointCategory + ", it doesn't respect the following condition : bindingPointCategory < 0");
     }
     bindingPointIndex = reader.ReadSByte();
     if (bindingPointIndex < 0)
     {
         throw new Exception("Forbidden value on bindingPointIndex = " + bindingPointIndex + ", it doesn't respect the following condition : bindingPointIndex < 0");
     }
     subEntityLook = new EntityLook();
     subEntityLook.Deserialize(reader);
 }