本文整理汇总了C#中ICustomDataOutput.WriteVarUhInt方法的典型用法代码示例。如果您正苦于以下问题:C# ICustomDataOutput.WriteVarUhInt方法的具体用法?C# ICustomDataOutput.WriteVarUhInt怎么用?C# ICustomDataOutput.WriteVarUhInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICustomDataOutput
的用法示例。
在下文中一共展示了ICustomDataOutput.WriteVarUhInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(mountUid);
writer.WriteSByte(mountLocation);
writer.WriteVarUhInt(mountFoodUid);
writer.WriteVarUhInt(quantity);
}
示例2: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(entityId);
writer.WriteVarUhInt(elemId);
writer.WriteVarUhShort(skillId);
writer.WriteVarUhShort(duration);
}
示例3: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhInt(kamas);
writer.WriteVarUhLong(experience);
writer.WriteVarUhInt(pods);
writer.WriteVarUhInt(itemsValue);
}
示例4: 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);
}
示例5: 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);
}
}
示例6: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteInt(accountId);
writer.WriteVarUhInt(playerId);
writer.WriteShort(status.TypeId);
status.Serialize(writer);
}
示例7: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(alignmentSide);
writer.WriteSByte(alignmentValue);
writer.WriteSByte(alignmentGrade);
writer.WriteVarUhInt(characterPower);
}
示例8: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)jobs.Count());
foreach (var entry in jobs)
{
writer.WriteVarUhInt(entry);
}
}
示例9: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)typeDescription.Count());
foreach (var entry in typeDescription)
{
writer.WriteVarUhInt(entry);
}
}
示例10: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)objectIdList.Count());
foreach (var entry in objectIdList)
{
writer.WriteVarUhInt(entry);
}
}
示例11: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(playerId);
writer.WriteUTF(playerName);
writer.WriteSByte(breed);
writer.WriteBoolean(sex);
writer.WriteByte(level);
}
示例12: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhInt(playerId);
writer.WriteUTF(playerName);
writer.WriteSByte(breed);
writer.WriteBoolean(sex);
}
示例13: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(typeId);
writer.WriteSByte(state);
writer.WriteInt(nextVulnerabilityDate);
writer.WriteInt(placementDate);
writer.WriteVarUhInt(rewardTokenCount);
}
示例14: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)objects.Count());
foreach (var entry in objects)
{
entry.Serialize(writer);
}
writer.WriteVarUhInt(kamas);
}
示例15: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhInt(playerId);
writer.WriteUShort((ushort)skills.Count());
foreach (var entry in skills)
{
writer.WriteVarUhShort(entry);
}
}