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


C# ICustomDataOutput.WriteVarUhInt方法代码示例

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


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

示例1: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhInt(mountUid);
     writer.WriteSByte(mountLocation);
     writer.WriteVarUhInt(mountFoodUid);
     writer.WriteVarUhInt(quantity);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:MountFeedRequestMessage.cs

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

示例3: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhInt(kamas);
     writer.WriteVarUhLong(experience);
     writer.WriteVarUhInt(pods);
     writer.WriteVarUhInt(itemsValue);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:TaxCollectorLootInformations.cs

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

示例5: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteInt(lastTimeSlotModificationDate);
     writer.WriteVarUhInt(lastTimeSlotModificationAuthorGuildId);
     writer.WriteVarUhInt(lastTimeSlotModificationAuthorId);
     writer.WriteUTF(lastTimeSlotModificationAuthorName);
     writer.WriteUShort((ushort)modulesItemIds.Count());
     foreach (var entry in modulesItemIds)
     {
          writer.WriteVarUhInt(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:13,代码来源:AllianceInsiderPrismInformation.cs

示例6: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteInt(accountId);
     writer.WriteVarUhInt(playerId);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:PlayerStatusUpdateMessage.cs

示例7: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(alignmentSide);
     writer.WriteSByte(alignmentValue);
     writer.WriteSByte(alignmentGrade);
     writer.WriteVarUhInt(characterPower);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ActorAlignmentInformations.cs

示例8: Serialize

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

示例9: Serialize

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

示例10: Serialize

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

示例11: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhInt(playerId);
     writer.WriteUTF(playerName);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteByte(level);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:DungeonPartyFinderPlayer.cs

示例12: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhInt(playerId);
     writer.WriteUTF(playerName);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:IgnoredOnlineInformations.cs

示例13: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(typeId);
     writer.WriteSByte(state);
     writer.WriteInt(nextVulnerabilityDate);
     writer.WriteInt(placementDate);
     writer.WriteVarUhInt(rewardTokenCount);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:PrismInformation.cs

示例14: Serialize

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

示例15: Serialize

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


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