Example #1
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     Restrictions = new ActorRestrictionsInformations();
     Restrictions.Deserialize(reader);
     Sex = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Options = new HumanOption[limit];
     for (int i = 0; i < limit; i++)
     {
         Options[i] = Types.ProtocolTypeManager.GetInstance<HumanOption>(reader.ReadShort());
         Options[i].Deserialize(reader);
     }
 }
 public override void Deserialize(BigEndianReader reader)
 {
     Restrictions = new ActorRestrictionsInformations();
     Restrictions.Deserialize(reader);
 }
 public SetCharacterRestrictionsMessage(ActorRestrictionsInformations restrictions)
 {
     Restrictions = restrictions;
 }
Example #4
0
 public HumanInformations(ActorRestrictionsInformations restrictions, bool sex, HumanOption[] options)
 {
     Restrictions = restrictions;
     Sex = sex;
     Options = options;
 }