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


C# BigEndianWriter.WriteVarShort方法代码示例

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


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

示例1: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(casterId);
     writer.WriteVarShort(targetCellId);
     writer.WriteVarShort(spellId);
     writer.WriteSByte(spellLevel);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameRolePlaySpellAnimMessage.cs

示例2: 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

示例3: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarShort(msgId);
     writer.WriteInt(timeStamp);
     writer.WriteUTF(owner);
     writer.WriteVarShort(objectGenericId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:LivingObjectMessageMessage.cs

示例4: Serialize

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

示例5: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteUTF(uid);
     writer.WriteVarShort(figure);
     writer.WriteVarShort(pedestal);
     writer.WriteBoolean(bound);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:KrosmasterFigure.cs

示例6: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarShort(firstNameId);
     writer.WriteVarShort(lastNameId);
     writer.WriteByte(level);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameFightTaxCollectorInformations.cs

示例7: Serialize

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

示例8: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(entityId);
     writer.WriteVarInt(elemId);
     writer.WriteVarShort(skillId);
     writer.WriteVarShort(duration);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:InteractiveUsedMessage.cs

示例9: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarShort(diceNum);
     writer.WriteVarShort(diceSide);
     writer.WriteVarShort(diceConst);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:ObjectEffectDice.cs

示例10: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(allianceId);
     writer.WriteVarShort(nbGuilds);
     writer.WriteVarShort(nbMembers);
     writer.WriteVarShort(nbSubarea);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:AllianceVersatileInformations.cs

示例11: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(requestId);
     writer.WriteVarInt(requesterId);
     writer.WriteVarShort(requesterCellId);
     writer.WriteVarInt(requestedId);
     writer.WriteVarShort(requestedCellId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:GameFightPlacementSwapPositionsOfferMessage.cs

示例12: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarShort(@base);
     writer.WriteVarShort(additionnal);
     writer.WriteVarShort(objectsAndMountBonus);
     writer.WriteVarShort(alignGiftBonus);
     writer.WriteVarShort(contextModif);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:CharacterBaseCharacteristic.cs

示例13: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarShort(honor);
     writer.WriteVarShort(honorGradeFloor);
     writer.WriteVarShort(honorNextGradeFloor);
     writer.WriteSByte(aggressable);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:ActorExtendedAlignmentInformations.cs

示例14: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarShort(rank);
     writer.WriteVarShort(bestDailyRank);
     writer.WriteVarShort(bestRank);
     writer.WriteVarShort(victoryCount);
     writer.WriteVarShort(arenaFightcount);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:GameRolePlayArenaUpdatePlayerInfosMessage.cs

示例15: Serialize

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


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