本文整理汇总了C#中BlueSheep.Common.IO.BigEndianWriter.WriteInt方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianWriter.WriteInt方法的具体用法?C# BigEndianWriter.WriteInt怎么用?C# BigEndianWriter.WriteInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BlueSheep.Common.IO.BigEndianWriter
的用法示例。
在下文中一共展示了BigEndianWriter.WriteInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(senderId);
writer.WriteUTF(senderName);
writer.WriteInt(senderAccountId);
}
示例2: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteInt(memberId);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteInt(mapId);
writer.WriteVarShort(subAreaId);
}
示例3: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(arg1);
writer.WriteInt(arg2);
writer.WriteInt(arg3);
writer.WriteShort(delay);
}
示例4: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort)ids.Length);
foreach (var entry in ids)
{
writer.WriteInt(entry);
}
writer.WriteUShort((ushort)deadsIds.Length);
foreach (var entry in deadsIds)
{
writer.WriteInt(entry);
}
}
示例5: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteInt(casterId);
writer.WriteVarShort(targetCellId);
writer.WriteVarShort(spellId);
writer.WriteSByte(spellLevel);
}
示例6: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(targetId);
writer.WriteVarShort(loss);
writer.WriteVarShort(permanentDamages);
}
示例7: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteVarShort(actionId);
writer.WriteInt(sourceId);
writer.WriteShort(effect.TypeId);
effect.Serialize(writer);
}
示例8: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(mountId);
writer.WriteDouble(date);
writer.WriteVarShort(modelId);
}
示例9: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(channel);
writer.WriteUTF(content);
writer.WriteInt(timestamp);
writer.WriteUTF(fingerprint);
}
示例10: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(targetId);
writer.WriteVarShort(spellId);
writer.WriteVarShort(value);
}
示例11: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteInt(fightId);
writer.WriteVarInt(sourceId);
writer.WriteVarInt(targetId);
writer.WriteBoolean(accept);
}
示例12: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteInt(areaId);
writer.WriteSByte(atLeastNbMount);
writer.WriteSByte(atLeastNbMachine);
writer.WriteVarInt(maxPrice);
}
示例13: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteShort(humanoidInfo.TypeId);
humanoidInfo.Serialize(writer);
writer.WriteInt(accountId);
}
示例14: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteSByte(playerState);
writer.WriteVarShort(lastConnection);
writer.WriteInt(achievementPoints);
}
示例15: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteVarShort(msgId);
writer.WriteInt(timeStamp);
writer.WriteUTF(owner);
writer.WriteVarShort(objectGenericId);
}