本文整理汇总了C#中ICustomDataOutput.WriteVarUhShort方法的典型用法代码示例。如果您正苦于以下问题:C# ICustomDataOutput.WriteVarUhShort方法的具体用法?C# ICustomDataOutput.WriteVarUhShort怎么用?C# ICustomDataOutput.WriteVarUhShort使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICustomDataOutput
的用法示例。
在下文中一共展示了ICustomDataOutput.WriteVarUhShort方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(entityId);
writer.WriteVarUhInt(elemId);
writer.WriteVarUhShort(skillId);
writer.WriteVarUhShort(duration);
}
示例2: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)spellsId.Count());
foreach (var entry in spellsId)
{
writer.WriteVarUhShort(entry);
}
writer.WriteVarUhShort(boostPoint);
}
示例3: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhShort(initiative);
writer.WriteVarUhInt(lifePoints);
writer.WriteVarUhInt(maxLifePoints);
writer.WriteVarUhShort(prospecting);
writer.WriteByte(regenRate);
}
示例4: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhShort(firstNameId);
writer.WriteVarUhShort(lastNameId);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteInt(mapId);
writer.WriteVarUhShort(subAreaId);
}
示例5: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhShort(pageIndex);
writer.WriteVarUhShort(totalPage);
writer.WriteUShort((ushort)houseList.Count());
foreach (var entry in houseList)
{
entry.Serialize(writer);
}
}
示例6: 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);
}
}
示例7: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)questsToValidId.Count());
foreach (var entry in questsToValidId)
{
writer.WriteVarUhShort(entry);
}
writer.WriteUShort((ushort)questsToStartId.Count());
foreach (var entry in questsToStartId)
{
writer.WriteVarUhShort(entry);
}
}
示例8: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)positionsForChallengers.Count());
foreach (var entry in positionsForChallengers)
{
writer.WriteVarUhShort(entry);
}
writer.WriteUShort((ushort)positionsForDefenders.Count());
foreach (var entry in positionsForDefenders)
{
writer.WriteVarUhShort(entry);
}
writer.WriteSByte(teamNumber);
}
示例9: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteSByte(deathState);
writer.WriteVarUhShort(deathCount);
writer.WriteByte(deathMaxLevel);
}
示例10: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhShort(days);
writer.WriteSByte(hours);
writer.WriteSByte(minutes);
}
示例11: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteInt(targetId);
writer.WriteVarUhShort(spellId);
writer.WriteVarShort(value);
}
示例12: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)cellId.Count());
foreach (var entry in cellId)
{
writer.WriteVarUhShort(entry);
}
}
示例13: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)availableLegendaryIds.Count());
foreach (var entry in availableLegendaryIds)
{
writer.WriteVarUhShort(entry);
}
}
示例14: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)dungeonIds.Count());
foreach (var entry in dungeonIds)
{
writer.WriteVarUhShort(entry);
}
}
示例15: 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);
}