本文整理汇总了C#中ICustomDataOutput类的典型用法代码示例。如果您正苦于以下问题:C# ICustomDataOutput类的具体用法?C# ICustomDataOutput怎么用?C# ICustomDataOutput使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ICustomDataOutput类属于命名空间,在下文中一共展示了ICustomDataOutput类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(jobId);
writer.WriteByte(jobLevel);
writer.WriteBoolean(free);
writer.WriteByte(minLevel);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:JobCrafterDirectoryEntryJobInfo.cs
示例2: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(mountUid);
writer.WriteSByte(mountLocation);
writer.WriteVarUhInt(mountFoodUid);
writer.WriteVarUhInt(quantity);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:MountFeedRequestMessage.cs
示例3: Serialize
public virtual void Serialize(ICustomDataOutput writer)
{
writer.WriteSByte(alignmentSide);
writer.WriteSByte(alignmentValue);
writer.WriteSByte(alignmentGrade);
writer.WriteVarUhInt(characterPower);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ActorAlignmentInformations.cs
示例4: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteSByte(deathState);
writer.WriteVarUhShort(deathCount);
writer.WriteByte(deathMaxLevel);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:CharacterHardcoreOrEpicInformations.cs
示例5: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteSByte(companionGenericId);
writer.WriteByte(level);
writer.WriteInt(masterId);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GameFightCompanionInformations.cs
示例6: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteInt(accountId);
writer.WriteVarUhInt(playerId);
writer.WriteShort(status.TypeId);
status.Serialize(writer);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:PlayerStatusUpdateMessage.cs
示例7: Serialize
public override void Serialize(ICustomDataOutput writer)
{
foreach (var entry in dispositions)
{
entry.Serialize(writer);
}
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GameFightPlacementSwapPositionsMessage.cs
示例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);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GuildModificationStartedMessage.cs
示例9: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteShort(humanoidInfo.TypeId);
humanoidInfo.Serialize(writer);
writer.WriteInt(accountId);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GameRolePlayHumanoidInformations.cs
示例10: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUTF(name);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteUTF(liberator);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ExchangeMountFreeFromPaddockMessage.cs
示例11: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhInt(entityId);
writer.WriteVarUhInt(elemId);
writer.WriteVarUhShort(skillId);
writer.WriteVarUhShort(duration);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:InteractiveUsedMessage.cs
示例12: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteShort(fightId);
writer.WriteSByte(teamId);
writer.WriteSByte(option);
writer.WriteBoolean(state);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GameFightOptionStateUpdateMessage.cs
示例13: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteInt(targetId);
writer.WriteVarUhShort(spellId);
writer.WriteVarShort(value);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GameActionFightSpellCooldownVariationMessage.cs
示例14: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteVarUhLong(experienceCharacter);
writer.WriteVarUhLong(experienceMount);
writer.WriteVarUhLong(experienceGuild);
writer.WriteVarUhLong(experienceIncarnation);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:CharacterExperienceGainMessage.cs
示例15: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteVarUhShort(days);
writer.WriteSByte(hours);
writer.WriteSByte(minutes);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ObjectEffectDuration.cs
示例16: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteByte(level);
guildInfo.Serialize(writer);
writer.WriteInt(experienceForGuild);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:FightResultTaxCollectorListEntry.cs
示例17: Serialize
public override void Serialize(ICustomDataOutput writer)
{
base.Serialize(writer);
writer.WriteShort(identification.TypeId);
identification.Serialize(writer);
writer.WriteByte(guildLevel);
writer.WriteInt(taxCollectorAttack);
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:GameRolePlayTaxCollectorInformations.cs
示例18: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)listEntries.Count());
foreach (var entry in listEntries)
{
entry.Serialize(writer);
}
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:JobCrafterDirectoryListMessage.cs
示例19: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)itemTypeDescriptions.Count());
foreach (var entry in itemTypeDescriptions)
{
entry.Serialize(writer);
}
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:ExchangeTypesItemsExchangerDescriptionForUserMessage.cs
示例20: Serialize
public override void Serialize(ICustomDataOutput writer)
{
writer.WriteUShort((ushort)dispositions.Count());
foreach (var entry in dispositions)
{
entry.Serialize(writer);
}
}
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:GameEntitiesDispositionMessage.cs
注:本文中的ICustomDataOutput类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论