本文整理汇总了C#中ICustomDataOutput类的典型用法代码示例。如果您正苦于以下问题:C# ICustomDataOutput类的具体用法?C# ICustomDataOutput怎么用?C# ICustomDataOutput使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ICustomDataOutput类属于命名空间,在下文中一共展示了ICustomDataOutput类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(jobId);
writer.WriteByte(jobLevel);
writer.WriteBoolean(free);
writer.WriteByte(minLevel);
}
示例2: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(mountUid);
writer.WriteSByte(mountLocation);
writer.WriteVarUhInt(mountFoodUid);
writer.WriteVarUhInt(quantity);
}
示例3: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(alignmentSide);
writer.WriteSByte(alignmentValue);
writer.WriteSByte(alignmentGrade);
writer.WriteVarUhInt(characterPower);
}
示例4: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteSByte(deathState);
writer.WriteVarUhShort(deathCount);
writer.WriteByte(deathMaxLevel);
}
示例5: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteSByte(companionGenericId);
writer.WriteByte(level);
writer.WriteInt(masterId);
}
示例6: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteInt(accountId);
writer.WriteVarUhInt(playerId);
writer.WriteShort(status.TypeId);
status.Serialize(writer);
}
示例7: Serialize
public override void Serialize(ICustomDataOutput writer)
{
foreach (var entry in dispositions)
{
entry.Serialize(writer);
}
}
示例8: Serialize
public override void Serialize(ICustomDataOutput writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, canChangeName);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, canChangeEmblem);
writer.WriteByte(flag1);
}
示例9: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteShort(humanoidInfo.TypeId);
humanoidInfo.Serialize(writer);
writer.WriteInt(accountId);
}
示例10: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUTF(name);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteUTF(liberator);
}
示例11: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(entityId);
writer.WriteVarUhInt(elemId);
writer.WriteVarUhShort(skillId);
writer.WriteVarUhShort(duration);
}
示例12: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteShort(fightId);
writer.WriteSByte(teamId);
writer.WriteSByte(option);
writer.WriteBoolean(state);
}
示例13: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteInt(targetId);
writer.WriteVarUhShort(spellId);
writer.WriteVarShort(value);
}
示例14: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhLong(experienceCharacter);
writer.WriteVarUhLong(experienceMount);
writer.WriteVarUhLong(experienceGuild);
writer.WriteVarUhLong(experienceIncarnation);
}
示例15: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhShort(days);
writer.WriteSByte(hours);
writer.WriteSByte(minutes);
}