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


C# ICustomDataOutput.WriteVarUhShort方法代码示例

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


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

示例1: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhInt(entityId);
     writer.WriteVarUhInt(elemId);
     writer.WriteVarUhShort(skillId);
     writer.WriteVarUhShort(duration);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:InteractiveUsedMessage.cs

示例2: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)spellsId.Count());
     foreach (var entry in spellsId)
     {
          writer.WriteVarUhShort(entry);
     }
     writer.WriteVarUhShort(boostPoint);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:9,代码来源:SpellForgottenMessage.cs

示例3: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhShort(initiative);
     writer.WriteVarUhInt(lifePoints);
     writer.WriteVarUhInt(maxLifePoints);
     writer.WriteVarUhShort(prospecting);
     writer.WriteByte(regenRate);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:9,代码来源:PartyCompanionMemberInformations.cs

示例4: Serialize

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

示例5: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhShort(pageIndex);
     writer.WriteVarUhShort(totalPage);
     writer.WriteUShort((ushort)houseList.Count());
     foreach (var entry in houseList)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:10,代码来源:HouseToSellListMessage.cs

示例6: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhShort(serverId);
     writer.WriteUTF(address);
     writer.WriteUShort(port);
     writer.WriteBoolean(canCreateNewCharacter);
     writer.WriteVarUhShort((ushort)ticket.Count());
     foreach (var entry in ticket)
     {
          writer.WriteByte(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:12,代码来源:SelectedServerDataMessage.cs

示例7: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)questsToValidId.Count());
     foreach (var entry in questsToValidId)
     {
          writer.WriteVarUhShort(entry);
     }
     writer.WriteUShort((ushort)questsToStartId.Count());
     foreach (var entry in questsToStartId)
     {
          writer.WriteVarUhShort(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:13,代码来源:GameRolePlayNpcQuestFlag.cs

示例8: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)positionsForChallengers.Count());
     foreach (var entry in positionsForChallengers)
     {
          writer.WriteVarUhShort(entry);
     }
     writer.WriteUShort((ushort)positionsForDefenders.Count());
     foreach (var entry in positionsForDefenders)
     {
          writer.WriteVarUhShort(entry);
     }
     writer.WriteSByte(teamNumber);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:14,代码来源:GameFightPlacementPossiblePositionsMessage.cs

示例9: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(deathState);
     writer.WriteVarUhShort(deathCount);
     writer.WriteByte(deathMaxLevel);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:CharacterHardcoreOrEpicInformations.cs

示例10: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhShort(days);
     writer.WriteSByte(hours);
     writer.WriteSByte(minutes);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ObjectEffectDuration.cs

示例11: Serialize

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

示例12: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)cellId.Count());
     foreach (var entry in cellId)
     {
          writer.WriteVarUhShort(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:GameDataPlayFarmObjectAnimationMessage.cs

示例13: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)availableLegendaryIds.Count());
     foreach (var entry in availableLegendaryIds)
     {
          writer.WriteVarUhShort(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:TreasureHuntShowLegendaryUIMessage.cs

示例14: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)dungeonIds.Count());
     foreach (var entry in dungeonIds)
     {
          writer.WriteVarUhShort(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:DungeonPartyFinderAvailableDungeonsMessage.cs

示例15: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteUTF(leaderName);
     writer.WriteVarUhShort(nbConnectedMembers);
     writer.WriteSByte(nbTaxCollectors);
     writer.WriteInt(lastActivity);
     writer.WriteBoolean(enabled);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:9,代码来源:GuildInsiderFactSheetInformations.cs


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