本文整理汇总了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);
}
示例2: Serialize
public override void Serialize(IDataWriter writer)
{
writer.WriteInt(memberId);
writer.WriteShort(rank);
writer.WriteSByte(experienceGivenPercent);
writer.WriteUInt(rights);
}
示例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);
}
示例4: Serialize
public override void Serialize(IDataWriter writer)
{
writer.WriteUInt(reportedId);
writer.WriteSByte(reason);
}
示例5: Serialize
public override void Serialize(IDataWriter writer)
{
writer.WriteShort(houseId);
guildInfo.Serialize(writer);
writer.WriteUInt(rights);
}
示例6: Serialize
public override void Serialize(IDataWriter writer)
{
guildInfo.Serialize(writer);
writer.WriteUInt(memberRights);
writer.WriteBoolean(enabled);
}
示例7: Serialize
public override void Serialize(IDataWriter writer)
{
writer.WriteBoolean(enable);
writer.WriteUInt(rights);
}
示例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);
}
示例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);
}
示例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);
}