本文整理汇总了C#中Emulator.Common.IO.BigEndianWriter.WriteSByte方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianWriter.WriteSByte方法的具体用法?C# BigEndianWriter.WriteSByte怎么用?C# BigEndianWriter.WriteSByte使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Emulator.Common.IO.BigEndianWriter
的用法示例。
在下文中一共展示了BigEndianWriter.WriteSByte方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteSByte(PlayerState);
writer.WriteInt(LastConnection);
writer.WriteInt(AchievementPoints);
}
示例2: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort) EmoteIds.Length);
foreach (var entry in EmoteIds)
{
writer.WriteSByte(entry);
}
}
示例3: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(Type);
writer.WriteUShort((ushort) Coords.Length);
foreach (var entry in Coords)
{
entry.Serialize(writer);
}
}
示例4: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteInt(Id);
writer.WriteUShort((ushort) Steps.Length);
foreach (var entry in Steps)
{
writer.WriteSByte(entry);
}
}
示例5: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(NbPaddockMax);
writer.WriteUShort((ushort) PaddocksInformations.Length);
foreach (var entry in PaddocksInformations)
{
entry.Serialize(writer);
}
}
示例6: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(JobId);
writer.WriteUShort((ushort) Skills.Length);
foreach (var entry in Skills)
{
writer.WriteShort(entry.TypeId);
entry.Serialize(writer);
}
}
示例7: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(BarType);
writer.WriteUShort((ushort) Shortcuts.Length);
foreach (var entry in Shortcuts)
{
writer.WriteShort(entry.TypeId);
entry.Serialize(writer);
}
}
示例8: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(ResultCode);
writer.WriteSByte(SmileyId);
}
示例9: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteInt(GuestId);
writer.WriteInt(HostId);
writer.WriteUTF(Name);
GuestLook.Serialize(writer);
writer.WriteSByte(Breed);
writer.WriteBoolean(Sex);
writer.WriteShort(Status.TypeId);
Status.Serialize(writer);
}
示例10: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteShort(ActionId);
writer.WriteInt(AuthorId);
writer.WriteSByte(SequenceType);
}
示例11: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(Reason);
}
示例12: 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);
}
示例13: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteInt(PlayerId);
writer.WriteUTF(PlayerName);
writer.WriteSByte(AlignmentSide);
writer.WriteSByte(Breed);
writer.WriteBoolean(Sex);
writer.WriteBoolean(IsInWorkshop);
writer.WriteShort(WorldX);
writer.WriteShort(WorldY);
writer.WriteInt(MapId);
writer.WriteShort(SubAreaId);
}
示例14: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteShort(StaticInfos.TypeId);
StaticInfos.Serialize(writer);
writer.WriteShort(AgeBonus);
writer.WriteSByte(LootShare);
writer.WriteSByte(AlignmentSide);
writer.WriteBoolean(KeyRingBonus);
}
示例15: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUTF(Uid);
writer.WriteSByte(Failure);
}