Exemple #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");
     }
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }