Exemplo n.º 1
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     humanoidInfo = Types.ProtocolTypeManager.GetInstance <HumanInformations>(reader.ReadShort());
     humanoidInfo.Deserialize(reader);
     accountId = reader.ReadInt();
     if (accountId < 0)
     {
         throw new Exception("Forbidden value on accountId = " + accountId + ", it doesn't respect the following condition : accountId < 0");
     }
 }
Exemplo n.º 2
0
 public GameRolePlayCharacterInformations(double contextualId,
                                          EntityLook look,
                                          EntityDispositionInformations disposition,
                                          string name,
                                          HumanInformations humanoidInfo,
                                          int accountId,
                                          ActorAlignmentInformations alignmentInfos)
     : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.alignmentInfos = alignmentInfos;
 }
Exemplo n.º 3
0
 public GameRolePlayMutantInformations(double contextualId,
                                       EntityLook look,
                                       EntityDispositionInformations disposition,
                                       string name,
                                       HumanInformations humanoidInfo,
                                       int accountId,
                                       ushort monsterId,
                                       sbyte powerLevel)
     : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.monsterId  = monsterId;
     this.powerLevel = powerLevel;
 }
Exemplo n.º 4
0
 public GameRolePlayHumanoidInformations(double contextualId, Types.EntityLook look, EntityDispositionInformations disposition, string name, HumanInformations humanoidInfo, int accountId)
     : base(contextualId, look, disposition, name)
 {
     this.humanoidInfo = humanoidInfo;
     this.accountId    = accountId;
 }