本文整理汇总了C#中ICustomDataOutput.WriteUTF方法的典型用法代码示例。如果您正苦于以下问题:C# ICustomDataOutput.WriteUTF方法的具体用法?C# ICustomDataOutput.WriteUTF怎么用?C# ICustomDataOutput.WriteUTF使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICustomDataOutput
的用法示例。
在下文中一共展示了ICustomDataOutput.WriteUTF方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUTF(name);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteUTF(liberator);
}
示例2: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteInt(uid);
writer.WriteUTF(title);
writer.WriteUTF(text);
writer.WriteUTF(descUrl);
writer.WriteUTF(pictureUrl);
writer.WriteUShort((ushort)items.Count());
foreach (var entry in items)
{
entry.Serialize(writer);
}
}
示例3: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(playerId);
writer.WriteUTF(playerName);
writer.WriteSByte(breed);
writer.WriteBoolean(sex);
writer.WriteByte(level);
}
示例4: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhInt(playerId);
writer.WriteUTF(playerName);
writer.WriteSByte(breed);
writer.WriteBoolean(sex);
}
示例5: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteUTF(leaderName);
writer.WriteVarUhShort(nbConnectedMembers);
writer.WriteSByte(nbTaxCollectors);
writer.WriteInt(lastActivity);
writer.WriteBoolean(enabled);
}
示例6: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUTF(salt);
writer.WriteUShort((ushort)key.Count());
foreach (var entry in key)
{
writer.WriteSByte(entry);
}
}
示例7: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)aliases.Count());
foreach (var entry in aliases)
{
writer.WriteUTF(entry);
}
writer.WriteUShort((ushort)args.Count());
foreach (var entry in args)
{
writer.WriteUTF(entry);
}
writer.WriteUShort((ushort)descriptions.Count());
foreach (var entry in descriptions)
{
writer.WriteUTF(entry);
}
}
示例8: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUTF(address);
writer.WriteUShort(port);
writer.WriteUShort((ushort)ticket.Count());
foreach (var entry in ticket)
{
writer.WriteSByte(entry);
}
}
示例9: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(msgType);
writer.WriteVarUhShort(msgId);
writer.WriteUShort((ushort)parameters.Count());
foreach (var entry in parameters)
{
writer.WriteUTF(entry);
}
}
示例10: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhShort(id);
writer.WriteUShort((ushort)parameters.Count());
foreach (var entry in parameters)
{
writer.WriteUTF(entry);
}
writer.WriteBoolean(forceOpen);
}
示例11: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteInt(entityId);
writer.WriteVarUhShort(textId);
writer.WriteUShort((ushort)parameters.Count());
foreach (var entry in parameters)
{
writer.WriteUTF(entry);
}
}
示例12: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteUTF(guildOwner);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteVarUhShort(subAreaId);
writer.WriteSByte(nbMount);
writer.WriteSByte(nbObject);
writer.WriteVarUhInt(price);
}
示例13: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhShort(serverId);
writer.WriteUTF(address);
writer.WriteUShort(port);
writer.WriteBoolean(canCreateNewCharacter);
writer.WriteVarUhShort((ushort)ticket.Count());
foreach (var entry in ticket)
{
writer.WriteByte(entry);
}
}
示例14: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteInt(lastTimeSlotModificationDate);
writer.WriteVarUhInt(lastTimeSlotModificationAuthorGuildId);
writer.WriteVarUhInt(lastTimeSlotModificationAuthorId);
writer.WriteUTF(lastTimeSlotModificationAuthorName);
writer.WriteUShort((ushort)modulesItemIds.Count());
foreach (var entry in modulesItemIds)
{
writer.WriteVarUhInt(entry);
}
}
示例15: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteUTF(forcedAccountLogin);
}