本文整理汇总了C#中Emulator.Common.IO.BigEndianWriter.WriteDouble方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianWriter.WriteDouble方法的具体用法?C# BigEndianWriter.WriteDouble怎么用?C# BigEndianWriter.WriteDouble使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Emulator.Common.IO.BigEndianWriter
的用法示例。
在下文中一共展示了BigEndianWriter.WriteDouble方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(FightId);
writer.WriteUShort((ushort) PlayerInfo.Length);
foreach (var entry in PlayerInfo)
{
entry.Serialize(writer);
}
}
示例2: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(FightId);
writer.WriteUShort((ushort) CharactersDescription.Length);
foreach (var entry in CharactersDescription)
{
entry.Serialize(writer);
}
}
示例3: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(RideId);
writer.WriteUShort((ushort) BoostToUpdateList.Length);
foreach (var entry in BoostToUpdateList)
{
writer.WriteShort(entry.TypeId);
entry.Serialize(writer);
}
}
示例4: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(FightId);
writer.WriteInt(FighterToRemoveId);
}
示例5: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(ExperienceCharacter);
writer.WriteDouble(ExperienceMount);
writer.WriteDouble(ExperienceGuild);
writer.WriteDouble(ExperienceIncarnation);
}
示例6: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUTF(CollectorName);
writer.WriteShort(WorldX);
writer.WriteShort(WorldY);
writer.WriteInt(MapId);
writer.WriteShort(SubAreaId);
writer.WriteUTF(UserName);
writer.WriteDouble(Experience);
writer.WriteUShort((ushort) ObjectsInfos.Length);
foreach (var entry in ObjectsInfos)
{
entry.Serialize(writer);
}
}
示例7: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, Sex);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, IsRideable);
flag1 = BooleanByteWrapper.SetFlag(flag1, 2, IsWild);
flag1 = BooleanByteWrapper.SetFlag(flag1, 3, IsFecondationReady);
writer.WriteByte(flag1);
writer.WriteDouble(Id);
writer.WriteInt(Model);
writer.WriteUShort((ushort) Ancestor.Length);
foreach (var entry in Ancestor)
{
writer.WriteInt(entry);
}
writer.WriteUShort((ushort) Behaviors.Length);
foreach (var entry in Behaviors)
{
writer.WriteInt(entry);
}
writer.WriteUTF(Name);
writer.WriteInt(OwnerId);
writer.WriteDouble(Experience);
writer.WriteDouble(ExperienceForLevel);
writer.WriteDouble(ExperienceForNextLevel);
writer.WriteSByte(Level);
writer.WriteInt(MaxPods);
writer.WriteInt(Stamina);
writer.WriteInt(StaminaMax);
writer.WriteInt(Maturity);
writer.WriteInt(MaturityForAdult);
writer.WriteInt(Energy);
writer.WriteInt(EnergyMax);
writer.WriteInt(Serenity);
writer.WriteInt(AggressivityMax);
writer.WriteInt(SerenityMax);
writer.WriteInt(Love);
writer.WriteInt(LoveMax);
writer.WriteInt(FecondationTime);
writer.WriteInt(BoostLimiter);
writer.WriteDouble(BoostMax);
writer.WriteInt(ReproductionCount);
writer.WriteInt(ReproductionCountMax);
writer.WriteUShort((ushort) EffectList.Length);
foreach (var entry in EffectList)
{
entry.Serialize(writer);
}
}
示例8: Serialize
public override void Serialize(BigEndianWriter writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, Enabled);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, AbandonnedPaddock);
writer.WriteByte(flag1);
writer.WriteByte(Level);
writer.WriteDouble(ExpLevelFloor);
writer.WriteDouble(Experience);
writer.WriteDouble(ExpNextLevelFloor);
writer.WriteInt(CreationDate);
}
示例9: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(JobId);
writer.WriteSByte(JobLevel);
writer.WriteDouble(JobXP);
writer.WriteDouble(JobXpLevelFloor);
writer.WriteDouble(JobXpNextLevelFloor);
}
示例10: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(FightId);
writer.WriteUShort((ushort) MainFighters.Length);
foreach (var entry in MainFighters)
{
entry.Serialize(writer);
}
writer.WriteUShort((ushort) ReserveFighters.Length);
foreach (var entry in ReserveFighters)
{
entry.Serialize(writer);
}
}
示例11: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(FightId);
PlayerInfo.Serialize(writer);
}
示例12: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(Id);
writer.WriteDouble(Time);
}
示例13: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteShort(MaxPods);
writer.WriteShort(Prospecting);
writer.WriteShort(Wisdom);
writer.WriteSByte(TaxCollectorsCount);
writer.WriteInt(TaxCollectorAttack);
writer.WriteInt(Kamas);
writer.WriteDouble(Experience);
writer.WriteInt(Pods);
writer.WriteInt(ItemsValue);
}
示例14: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteSByte(EmoteId);
writer.WriteDouble(EmoteStartTime);
}
示例15: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteInt(Pctbonus);
writer.WriteDouble(Grademult);
}