当前位置: 首页>>代码示例>>C#>>正文


C# BigEndianReader.ReadInt方法代码示例

本文整理汇总了C#中Emulator.Common.IO.BigEndianReader.ReadInt方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianReader.ReadInt方法的具体用法?C# BigEndianReader.ReadInt怎么用?C# BigEndianReader.ReadInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Emulator.Common.IO.BigEndianReader的用法示例。


在下文中一共展示了BigEndianReader.ReadInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     TargetId = reader.ReadInt();
     SpellId = reader.ReadInt();
     Value = reader.ReadShort();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:GameActionFightSpellCooldownVariationMessage.cs

示例2: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     AreaId = reader.ReadInt();
     AtLeastNbMount = reader.ReadSByte();
     AtLeastNbMachine = reader.ReadSByte();
     MaxPrice = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:PaddockToSellFilterMessage.cs

示例3: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     EntityId = reader.ReadInt();
     ElemId = reader.ReadInt();
     SkillId = reader.ReadShort();
     Duration = reader.ReadShort();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:InteractiveUsedMessage.cs

示例4: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     AccountId = reader.ReadInt();
     PlayerId = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:PlayerStatusUpdateMessage.cs

示例5: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     SenderId = reader.ReadInt();
     SenderName = reader.ReadUTF();
     SenderAccountId = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:ChatServerMessage.cs

示例6: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     PlayerState = reader.ReadSByte();
     LastConnection = reader.ReadInt();
     AchievementPoints = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:FriendInformations.cs

示例7: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     PaymentType = reader.ReadSByte();
     BAdd = reader.ReadBoolean();
     ObjectToMoveId = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:ExchangeItemObjectAddAsPaymentMessage.cs

示例8: Deserialize

 public virtual void Deserialize(BigEndianReader reader)
 {
     SymbolShape = reader.ReadShort();
     SymbolColor = reader.ReadInt();
     BackgroundShape = reader.ReadShort();
     BackgroundColor = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:GuildEmblem.cs

示例9: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadInt();
     SourceId = reader.ReadInt();
     TargetId = reader.ReadInt();
     Accept = reader.ReadBoolean();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:GameRolePlayPlayerFightFriendlyAnsweredMessage.cs

示例10: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     MountUid = reader.ReadDouble();
     MountLocation = reader.ReadSByte();
     MountFoodUid = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:MountFeedRequestMessage.cs

示例11: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     ChallengeId = reader.ReadShort();
     TargetId = reader.ReadInt();
     XpBonus = reader.ReadInt();
     DropBonus = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:ChallengeInfoMessage.cs

示例12: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     RequestId = reader.ReadInt();
     PlayerName = reader.ReadUTF();
     PlayerId = reader.ReadInt();
     Look = new EntityLook();
     Look.Deserialize(reader);
 }
开发者ID:Riul,项目名称:emulator,代码行数:8,代码来源:ContactLookMessage.cs

示例13: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Arg1 = reader.ReadInt();
     Arg2 = reader.ReadInt();
     Arg3 = reader.ReadInt();
     Delay = reader.ReadShort();
 }
开发者ID:Riul,项目名称:emulator,代码行数:8,代码来源:FightTriggeredEffect.cs

示例14: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     DungeonId = reader.ReadShort();
     InviterId = reader.ReadInt();
     var limit = reader.ReadUShort();
     InvalidBuddiesIds = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         InvalidBuddiesIds[i] = reader.ReadInt();
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:11,代码来源:TeleportBuddiesRequestedMessage.cs

示例15: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadInt();
     var limit = reader.ReadUShort();
     AlliesId = new int[limit];
     for (int i = 0; i < limit; i++)
     {
         AlliesId[i] = reader.ReadInt();
     }
     Duration = reader.ReadShort();
 }
开发者ID:Riul,项目名称:emulator,代码行数:11,代码来源:GameRolePlayArenaFightPropositionMessage.cs


注:本文中的Emulator.Common.IO.BigEndianReader.ReadInt方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。