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


C# IDataWriter.WriteUInt方法代码示例

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


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

示例1: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort(msgId);
     writer.WriteUInt(timeStamp);
     writer.WriteUTF(owner);
     writer.WriteUInt(objectGenericId);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:LivingObjectMessageMessage.cs

示例2: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(memberId);
     writer.WriteShort(rank);
     writer.WriteSByte(experienceGivenPercent);
     writer.WriteUInt(rights);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GuildChangeMemberParametersMessage.cs

示例3: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort(msgId);
     writer.WriteUShort((ushort)parameters.Length);
     foreach (var entry in parameters)
     {
          writer.WriteUTF(entry);
     }
     writer.WriteUInt(livingObject);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:10,代码来源:LivingObjectMessageRequestMessage.cs

示例4: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteUInt(reportedId);
     writer.WriteSByte(reason);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:5,代码来源:CharacterReportMessage.cs

示例5: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort(houseId);
     guildInfo.Serialize(writer);
     writer.WriteUInt(rights);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:6,代码来源:HouseGuildRightsMessage.cs

示例6: Serialize

 public override void Serialize(IDataWriter writer)
 {
     guildInfo.Serialize(writer);
     writer.WriteUInt(memberRights);
     writer.WriteBoolean(enabled);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:6,代码来源:GuildJoinedMessage.cs

示例7: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteBoolean(enable);
     writer.WriteUInt(rights);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:5,代码来源:HouseGuildShareRequestMessage.cs

示例8: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(houseId);
     writer.WriteInt(modelId);
     writer.WriteUTF(ownerName);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteUShort((ushort)skillListIds.Count());
     foreach (var entry in skillListIds)
     {
         writer.WriteInt(entry);
     }
     writer.WriteUInt(guildshareParams);
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:14,代码来源:HouseInformationsForGuild.cs

示例9: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(houseId);
     writer.WriteShort(modelId);
     writer.WriteInt(ownerId);
     writer.WriteUTF(ownerName);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteUInt(price);
     writer.WriteBoolean(isLocked);
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:11,代码来源:HouseInformationsInside.cs

示例10: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(rank);
     writer.WriteDouble(givenExperience);
     writer.WriteSByte(experienceGivenPercent);
     writer.WriteUInt(rights);
     writer.WriteSByte(connected);
     writer.WriteSByte(alignmentSide);
     writer.WriteUShort(hoursSinceLastConnection);
     writer.WriteSByte(moodSmileyId);
     writer.WriteInt(accountId);
     writer.WriteInt(achievementPoints);
     writer.WriteShort(status.TypeId);
     status.Serialize(writer);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:18,代码来源:GuildMember.cs


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