本文整理汇总了C#中Emulator.Common.IO.BigEndianWriter.WriteUShort方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianWriter.WriteUShort方法的具体用法?C# BigEndianWriter.WriteUShort怎么用?C# BigEndianWriter.WriteUShort使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Emulator.Common.IO.BigEndianWriter
的用法示例。
在下文中一共展示了BigEndianWriter.WriteUShort方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) ExperiencesUpdate.Length);
foreach (var entry in ExperiencesUpdate)
{
entry.Serialize(writer);
}
}
示例2: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) Dispositions.Length);
foreach (var entry in Dispositions)
{
entry.Serialize(writer);
}
}
示例3: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) EmoteIds.Length);
foreach (var entry in EmoteIds)
{
writer.WriteSByte(entry);
}
}
示例4: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) StatedElements.Length);
foreach (var entry in StatedElements)
{
entry.Serialize(writer);
}
}
示例5: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) TypeDescription.Length);
foreach (var entry in TypeDescription)
{
writer.WriteInt(entry);
}
}
示例6: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) StabledMountsDescription.Length);
foreach (var entry in StabledMountsDescription)
{
entry.Serialize(writer);
}
}
示例7: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) CraftersSettings.Length);
foreach (var entry in CraftersSettings)
{
entry.Serialize(writer);
}
}
示例8: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) PaddockItemDescription.Length);
foreach (var entry in PaddockItemDescription)
{
entry.Serialize(writer);
}
}
示例9: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) Figures.Length);
foreach (var entry in Figures)
{
entry.Serialize(writer);
}
}
示例10: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) ItemTypeDescriptions.Length);
foreach (var entry in ItemTypeDescriptions)
{
entry.Serialize(writer);
}
}
示例11: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) Cells.Length);
foreach (var entry in Cells)
{
writer.WriteShort(entry);
}
}
示例12: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) ObjectUID.Length);
foreach (var entry in ObjectUID)
{
writer.WriteInt(entry);
}
}
示例13: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) ObjectsUIDAndQty.Length);
foreach (var entry in ObjectsUIDAndQty)
{
entry.Serialize(writer);
}
}
示例14: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) HousesInformations.Length);
foreach (var entry in HousesInformations)
{
entry.Serialize(writer);
}
}
示例15: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) @object.Length);
foreach (var entry in @object)
{
entry.Serialize(writer);
}
}