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


C# IDataWriter.WriteShort方法代码示例

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


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

示例1: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(firstNameId);
     writer.WriteShort(lastNameId);
     writer.WriteShort(level);
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameFightTaxCollectorInformations.cs

示例2: Serialize

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

示例3: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteInt(targetId);
     writer.WriteShort(casterCellId);
     writer.WriteShort(targetCellId);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameActionFightExchangePositionsMessage.cs

示例4: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteShort(@base);
     writer.WriteShort(objectsAndMountBonus);
     writer.WriteShort(alignGiftBonus);
     writer.WriteShort(contextModif);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:CharacterBaseCharacteristic.cs

示例5: Serialize

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

示例6: Serialize

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

示例7: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(npcId);
     writer.WriteBoolean(sex);
     writer.WriteShort(specialArtworkId);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameRolePlayNpcInformations.cs

示例8: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteUTF(name);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteUTF(ownername);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:ExchangeMountTakenFromPaddockMessage.cs

示例9: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(days);
     writer.WriteShort(hours);
     writer.WriteShort(minutes);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:ObjectEffectDuration.cs

示例10: Serialize

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

示例11: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(markId);
     writer.WriteInt(triggeringCharacterId);
     writer.WriteShort(triggeredSpellId);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameActionFightTriggerGlyphTrapMessage.cs

示例12: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteShort(symbolShape);
     writer.WriteInt(symbolColor);
     writer.WriteShort(backgroundShape);
     writer.WriteInt(backgroundColor);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GuildEmblem.cs

示例13: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(entityId);
     writer.WriteInt(elemId);
     writer.WriteShort(skillId);
     writer.WriteShort(duration);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:InteractiveUsedMessage.cs

示例14: Serialize

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

示例15: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteShort(subAreaId);
     writer.WriteSByte(prismSide);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:8,代码来源:PrismFightAttackedMessage.cs


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