本文整理汇总了C#中BlueSheep.Common.IO.BigEndianWriter.WriteUTF方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianWriter.WriteUTF方法的具体用法?C# BigEndianWriter.WriteUTF怎么用?C# BigEndianWriter.WriteUTF使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BlueSheep.Common.IO.BigEndianWriter
的用法示例。
在下文中一共展示了BigEndianWriter.WriteUTF方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(channel);
writer.WriteUTF(content);
writer.WriteInt(timestamp);
writer.WriteUTF(fingerprint);
}
示例2: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUTF(name);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteUTF(liberator);
}
示例3: Serialize
public override void Serialize(BigEndianWriter writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, ssl);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, canCreateNewCharacter);
writer.WriteByte(flag1);
writer.WriteVarShort(serverId);
writer.WriteUTF(address);
writer.WriteUShort(port);
writer.WriteUTF(ticket);
}
示例4: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteInt(uid);
writer.WriteUTF(title);
writer.WriteUTF(text);
writer.WriteUTF(descUrl);
writer.WriteUTF(pictureUrl);
writer.WriteUShort((ushort)items.Length);
foreach (var entry in items)
{
entry.Serialize(writer);
}
}
示例5: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteVarShort(msgId);
writer.WriteInt(timeStamp);
writer.WriteUTF(owner);
writer.WriteVarShort(objectGenericId);
}
示例6: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(senderId);
writer.WriteUTF(senderName);
writer.WriteInt(senderAccountId);
}
示例7: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteUTF(uid);
writer.WriteVarShort(figure);
writer.WriteVarShort(pedestal);
writer.WriteBoolean(bound);
}
示例8: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteVarInt(requestId);
writer.WriteUTF(playerName);
writer.WriteVarInt(playerId);
look.Serialize(writer);
}
示例9: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteBoolean(hireOrFire);
basicInfos.Serialize(writer);
writer.WriteVarInt(playerId);
writer.WriteUTF(playerName);
}
示例10: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteVarInt(playerId);
writer.WriteUTF(playerName);
writer.WriteSByte(breed);
writer.WriteBoolean(sex);
writer.WriteByte(level);
}
示例11: Serialize
public override void Serialize(BigEndianWriter writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, success);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, session);
writer.WriteByte(flag1);
writer.WriteUTF(name);
}
示例12: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteVarInt(playerId);
writer.WriteUTF(playerName);
writer.WriteSByte(breed);
writer.WriteBoolean(sex);
}
示例13: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUTF(salt);
writer.WriteVarInt(key.Length);
foreach (var entry in key)
{
writer.WriteSByte(entry);
}
}
示例14: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteUTF(leaderName);
writer.WriteVarShort(nbConnectedMembers);
writer.WriteSByte(nbTaxCollectors);
writer.WriteInt(lastActivity);
writer.WriteBoolean(enabled);
}
示例15: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteSByte(partyType);
writer.WriteUTF(partyName);
writer.WriteSByte(maxParticipants);
writer.WriteVarInt(fromId);
writer.WriteUTF(fromName);
writer.WriteVarInt(toId);
}