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


C# BigEndianWriter.WriteShort方法代码示例

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


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

示例1: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteUTF(name);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteUTF(liberator);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:ExchangeMountFreeFromPaddockMessage.cs

示例2: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteInt(targetId);
     writer.WriteShort(startCellId);
     writer.WriteShort(endCellId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameActionFightSlideMessage.cs

示例3: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(memberId);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteVarShort(subAreaId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:PartyMemberGeoPosition.cs

示例4: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteShort(prism.TypeId);
     prism.Serialize(writer);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:9,代码来源:PrismGeolocalizedInformation.cs

示例5: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(staticInfos.TypeId);
     staticInfos.Serialize(writer);
     writer.WriteShort(ageBonus);
     writer.WriteSByte(lootShare);
     writer.WriteSByte(alignmentSide);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:9,代码来源:GameRolePlayGroupMonsterInformations.cs

示例6: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     //writer.WriteInt(houseId);
     writer.WriteVarInt(houseId);
     writer.WriteVarShort(modelId);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteVarShort(subAreaId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:10,代码来源:AccountHouseInformations.cs

示例7: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteUTF(guildOwner);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteVarShort(subAreaId);
     writer.WriteSByte(nbMount);
     writer.WriteSByte(nbObject);
     writer.WriteVarInt(price);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:10,代码来源:PaddockInformationsForSell.cs

示例8: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteVarShort(subAreaId);
     writer.WriteUShort((ushort)companions.Length);
     foreach (var entry in companions)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:13,代码来源:PartyInvitationMemberInformations.cs

示例9: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarShort(actionId);
     writer.WriteInt(sourceId);
     writer.WriteShort(effect.TypeId);
     effect.Serialize(writer);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:FightDispellableEffectExtendedInformations.cs

示例10: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(collectorId);
     writer.WriteUShort((ushort)allyCharactersInformations.Length);
     foreach (var entry in allyCharactersInformations)
     {
          writer.WriteShort(entry.TypeId);
          entry.Serialize(writer);
     }
     writer.WriteUShort((ushort)enemyCharactersInformations.Length);
     foreach (var entry in enemyCharactersInformations)
     {
          writer.WriteShort(entry.TypeId);
          entry.Serialize(writer);
     }
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:16,代码来源:TaxCollectorFightersInformation.cs

示例11: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteShort(fightId);
     writer.WriteSByte(teamId);
     writer.WriteSByte(option);
     writer.WriteBoolean(state);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameFightOptionStateUpdateMessage.cs

示例12: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(this.objectUID);
     writer.WriteFloat(this.bonusMin);
     writer.WriteFloat(this.bonusMax);
     writer.WriteShort((short)this.runesId.Count);
     for(int i=0;i<runesId.Count;i++)
     {
         writer.WriteVarShort(this.runesId[i]);
     }
     writer.WriteShort((short)this.runesQty.Count);
     for(int i=0;i<runesQty.Count;i++)
     {
         writer.WriteVarInt(this.runesQty[i]);
     }
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:16,代码来源:DecraftedItemStackInfo.cs

示例13: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarShort(subAreaId);
     writer.WriteVarShort(fightId);
     writer.WriteShort(defender.TypeId);
     defender.Serialize(writer);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:PrismFightDefenderAddMessage.cs

示例14: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(contextualId);
     look.Serialize(writer);
     writer.WriteShort(disposition.TypeId);
     disposition.Serialize(writer);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameContextActorInformations.cs

示例15: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(humanoidInfo.TypeId);
     humanoidInfo.Serialize(writer);
     writer.WriteInt(accountId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameRolePlayHumanoidInformations.cs


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