コード例 #1
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     MarkId = reader.ReadShort();
     TriggeringCharacterId = reader.ReadInt();
     TriggeredSpellId = reader.ReadShort();
 }
コード例 #2
0
ファイル: ObjectEffectDice.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     DiceNum = reader.ReadShort();
     DiceSide = reader.ReadShort();
     DiceConst = reader.ReadShort();
 }
コード例 #3
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     NpcId = reader.ReadShort();
     Sex = reader.ReadBoolean();
     SpecialArtworkId = reader.ReadShort();
 }
コード例 #4
0
ファイル: GuildEmblem.cs プロジェクト: Riul/emulator
 public virtual void Deserialize(BigEndianReader reader)
 {
     SymbolShape = reader.ReadShort();
     SymbolColor = reader.ReadInt();
     BackgroundShape = reader.ReadShort();
     BackgroundColor = reader.ReadInt();
 }
コード例 #5
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     FirstNameId = reader.ReadShort();
     LastNameId = reader.ReadShort();
     Level = reader.ReadShort();
 }
コード例 #6
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     StartCellId = reader.ReadShort();
     EndCellId = reader.ReadShort();
 }
コード例 #7
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ActionId = reader.ReadShort();
     SourceId = reader.ReadInt();
     Effect = Types.ProtocolTypeManager.GetInstance<AbstractFightDispellableEffect>(reader.ReadShort());
     Effect.Deserialize(reader);
 }
コード例 #8
0
 public override void Deserialize(BigEndianReader reader)
 {
     Name = reader.ReadUTF();
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     Sterilizator = reader.ReadUTF();
 }
コード例 #9
0
 public override void Deserialize(BigEndianReader reader)
 {
     CasterId = reader.ReadInt();
     TargetCellId = reader.ReadShort();
     SpellId = reader.ReadShort();
     SpellLevel = reader.ReadSByte();
 }
コード例 #10
0
ファイル: KrosmasterFigure.cs プロジェクト: Riul/emulator
 public virtual void Deserialize(BigEndianReader reader)
 {
     Uid = reader.ReadUTF();
     Figure = reader.ReadShort();
     Pedestal = reader.ReadShort();
     Bound = reader.ReadBoolean();
 }
コード例 #11
0
 public override void Deserialize(BigEndianReader reader)
 {
     EntityId = reader.ReadInt();
     ElemId = reader.ReadInt();
     SkillId = reader.ReadShort();
     Duration = reader.ReadShort();
 }
コード例 #12
0
ファイル: ObjectEffectDuration.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Days = reader.ReadShort();
     Hours = reader.ReadShort();
     Minutes = reader.ReadShort();
 }
コード例 #13
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     Loss = reader.ReadShort();
     PermanentDamages = reader.ReadShort();
 }
コード例 #14
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     @base = reader.ReadShort();
     ObjectsAndMountBonus = reader.ReadShort();
     AlignGiftBonus = reader.ReadShort();
     ContextModif = reader.ReadShort();
 }
コード例 #15
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     MapId = reader.ReadInt();
     EventType = reader.ReadSByte();
 }
コード例 #16
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     SpellsId = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         SpellsId[i] = reader.ReadShort();
     }
     BoostPoint = reader.ReadShort();
 }
コード例 #17
0
 public override void Deserialize(BigEndianReader reader)
 {
     PageIndex = reader.ReadShort();
     TotalPage = reader.ReadShort();
     var limit = reader.ReadUShort();
     HouseList = new HouseInformationsForSell[limit];
     for (int i = 0; i < limit; i++)
     {
         HouseList[i] = new HouseInformationsForSell();
         HouseList[i].Deserialize(reader);
     }
 }
コード例 #18
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     StepId = reader.ReadShort();
     var limit = reader.ReadUShort();
     Objectives = new QuestObjectiveInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         Objectives[i] = Types.ProtocolTypeManager.GetInstance<QuestObjectiveInformations>(reader.ReadShort());
         Objectives[i].Deserialize(reader);
     }
 }
コード例 #19
0
ファイル: GameFightEndMessage.cs プロジェクト: Riul/emulator
 public override void Deserialize(BigEndianReader reader)
 {
     Duration = reader.ReadInt();
     AgeBonus = reader.ReadShort();
     LootShareLimitMalus = reader.ReadShort();
     var limit = reader.ReadUShort();
     Results = new FightResultListEntry[limit];
     for (int i = 0; i < limit; i++)
     {
         Results[i] = Types.ProtocolTypeManager.GetInstance<FightResultListEntry>(reader.ReadShort());
         Results[i].Deserialize(reader);
     }
 }
コード例 #20
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     ObjectGID = reader.ReadShort();
     PowerRate = reader.ReadShort();
     OverMax = reader.ReadBoolean();
     var limit = reader.ReadUShort();
     Effects = new ObjectEffect[limit];
     for (int i = 0; i < limit; i++)
     {
         Effects[i] = Types.ProtocolTypeManager.GetInstance<ObjectEffect>(reader.ReadShort());
         Effects[i].Deserialize(reader);
     }
 }
コード例 #21
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     QuestsToValidId = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         QuestsToValidId[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     QuestsToStartId = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         QuestsToStartId[i] = reader.ReadShort();
     }
 }
コード例 #22
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     AngelsSubAreas = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         AngelsSubAreas[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     EvilsSubAreas = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         EvilsSubAreas[i] = reader.ReadShort();
     }
 }
コード例 #23
0
 public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     Availables = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Availables[i] = reader.ReadShort();
     }
     limit = reader.ReadUShort();
     Unavailables = new short[limit];
     for (int i = 0; i < limit; i++)
     {
         Unavailables[i] = reader.ReadShort();
     }
 }
コード例 #24
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     DeathState = reader.ReadSByte();
     DeathCount = reader.ReadShort();
     DeathMaxLevel = reader.ReadByte();
 }
コード例 #25
0
 public override void Deserialize(BigEndianReader reader)
 {
     AccountId = reader.ReadInt();
     PlayerId = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
コード例 #26
0
 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadShort();
     TeamId = reader.ReadSByte();
     Option = reader.ReadSByte();
     State = reader.ReadBoolean();
 }
コード例 #27
0
 public virtual void Deserialize(BigEndianReader reader)
 {
     ModificationType = reader.ReadSByte();
     SpellId = reader.ReadShort();
     Value = new CharacterBaseCharacteristic();
     Value.Deserialize(reader);
 }
コード例 #28
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     StateId = reader.ReadShort();
     Active = reader.ReadBoolean();
 }
コード例 #29
0
 public override void Deserialize(BigEndianReader reader)
 {
     MsgId = reader.ReadShort();
     TimeStamp = reader.ReadUInt();
     Owner = reader.ReadUTF();
     ObjectGenericId = reader.ReadUInt();
 }
コード例 #30
0
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     HumanoidInfo = Types.ProtocolTypeManager.GetInstance<HumanInformations>(reader.ReadShort());
     HumanoidInfo.Deserialize(reader);
     AccountId = reader.ReadInt();
 }