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


C# BigEndianWriter.WriteUInt方法代码示例

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


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

示例1: Serialize

 public override void Serialize(BigEndianWriter 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:Riul,项目名称:emulator,代码行数:18,代码来源:GuildMember.cs

示例2: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     GuildInfo.Serialize(writer);
     writer.WriteUInt(MemberRights);
     writer.WriteBoolean(Enabled);
 }
开发者ID:Riul,项目名称:emulator,代码行数:6,代码来源:GuildJoinedMessage.cs

示例3: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteBoolean(Enable);
     writer.WriteUInt(Rights);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:HouseGuildShareRequestMessage.cs

示例4: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteShort(MsgId);
     writer.WriteUInt(TimeStamp);
     writer.WriteUTF(Owner);
     writer.WriteUInt(ObjectGenericId);
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:LivingObjectMessageMessage.cs

示例5: Serialize

 public virtual void Serialize(BigEndianWriter 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:Riul,项目名称:emulator,代码行数:11,代码来源:HouseInformationsInside.cs

示例6: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteShort(MsgId);
     writer.WriteUShort((ushort) Parameters.Length);
     foreach (var entry in Parameters)
     {
         writer.WriteUTF(entry);
     }
     writer.WriteUInt(LivingObject);
 }
开发者ID:Riul,项目名称:emulator,代码行数:10,代码来源:LivingObjectMessageRequestMessage.cs

示例7: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(HouseId);
     writer.WriteInt(ModelId);
     writer.WriteUTF(OwnerName);
     writer.WriteShort(WorldX);
     writer.WriteShort(WorldY);
     writer.WriteInt(MapId);
     writer.WriteShort(SubAreaId);
     writer.WriteUShort((ushort) SkillListIds.Length);
     foreach (var entry in SkillListIds)
     {
         writer.WriteInt(entry);
     }
     writer.WriteUInt(GuildshareParams);
 }
开发者ID:Riul,项目名称:emulator,代码行数:16,代码来源:HouseInformationsForGuild.cs

示例8: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteUInt(ReportedId);
     writer.WriteSByte(Reason);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:CharacterReportMessage.cs

示例9: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(MemberId);
     writer.WriteShort(Rank);
     writer.WriteSByte(ExperienceGivenPercent);
     writer.WriteUInt(Rights);
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:GuildChangeMemberParametersMessage.cs

示例10: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteShort(HouseId);
     GuildInfo.Serialize(writer);
     writer.WriteUInt(Rights);
 }
开发者ID:Riul,项目名称:emulator,代码行数:6,代码来源:HouseGuildRightsMessage.cs


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