コード例 #1
0
 public override void Deserialize(IReader reader)
 {
     base.Deserialize(reader);
     humanoidInfo = ProtocolTypeManager.GetInstance <Types.HumanInformations>(reader.ReadUShort());
     humanoidInfo.Deserialize(reader);
     accountId = reader.ReadInt();
 }
コード例 #2
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     humanoidInfo = Types.ProtocolTypeManager.GetInstance<Types.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");
 }
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     humanoidInfo = Types.ProtocolTypeManager.GetInstance <Types.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");
     }
 }
 public GameRolePlayHumanoidInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, string name, Types.HumanInformations humanoidInfo, int accountId)
     : base(contextualId, look, disposition, name)
 {
     this.humanoidInfo = humanoidInfo;
     this.accountId    = accountId;
 }
コード例 #5
0
 public GameRolePlayHumanoidInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, string name, Types.HumanInformations humanoidInfo, int accountId)
     : base(contextualId, look, disposition, name)
 {
     this.humanoidInfo = humanoidInfo;
     this.accountId = accountId;
 }
 public GameRolePlayCharacterInformations(double contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, string name, Types.HumanInformations humanoidInfo, int accountId, Types.ActorAlignmentInformations alignmentInfos)
     : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.alignmentInfos = alignmentInfos;
 }
コード例 #7
0
 public GameRolePlayMutantInformations(double contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, string name, Types.HumanInformations humanoidInfo, int accountId, uint monsterId, sbyte powerLevel)
     : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.monsterId  = monsterId;
     this.powerLevel = powerLevel;
 }
コード例 #8
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     humanoidInfo = ProtocolTypeManager.GetInstance<Types.HumanInformations>(reader.ReadShort());
     humanoidInfo.Deserialize(reader);
 }
コード例 #9
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     humanoidInfo = Types.ProtocolTypeManager.GetInstance <Types.HumanInformations>(reader.ReadShort());
     humanoidInfo.Deserialize(reader);
 }