本文整理汇总了C#中BlueSheep.Common.IO.BigEndianWriter.WriteDouble方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianWriter.WriteDouble方法的具体用法?C# BigEndianWriter.WriteDouble怎么用?C# BigEndianWriter.WriteDouble使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BlueSheep.Common.IO.BigEndianWriter
的用法示例。
在下文中一共展示了BigEndianWriter.WriteDouble方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteInt(mountId);
writer.WriteDouble(date);
writer.WriteVarShort(modelId);
}
示例2: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteSByte(delayTypeId);
writer.WriteDouble(delayEndTime);
writer.WriteVarShort(objectGID);
}
示例3: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteUShort(id);
writer.WriteSByte(status);
writer.WriteSByte(completion);
writer.WriteBoolean(isSelectable);
writer.WriteSByte(charactersCount);
writer.WriteDouble(date);
}
示例4: 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);
}
}
示例5: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteVarLong(experience);
writer.WriteVarLong(experienceLevelFloor);
writer.WriteDouble(experienceNextLevelFloor);
writer.WriteVarInt(experienceFightDelta);
writer.WriteVarInt(experienceForGuild);
writer.WriteVarInt(experienceForMount);
writer.WriteSByte(rerollExperienceMul);
}
示例6: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(mountId);
}
示例7: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteInt(delayedCharacterId);
writer.WriteSByte(delayTypeId);
writer.WriteDouble(delayEndTime);
}
示例8: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteByte(emoteId);
writer.WriteDouble(emoteStartTime);
}
示例9: Serialize
public override void Serialize(BigEndianWriter writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, hasRights);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, wasAlreadyConnected);
writer.WriteByte(flag1);
writer.WriteUTF(login);
writer.WriteUTF(nickname);
writer.WriteInt(accountId);
writer.WriteSByte(communityId);
writer.WriteUTF(secretQuestion);
writer.WriteDouble(accountCreation);
writer.WriteDouble(subscriptionElapsedDuration);
writer.WriteDouble(subscriptionEndDate);
}
示例10: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(timestamp);
writer.WriteShort(timezoneOffset);
}
示例11: Serialize
public virtual void Serialize(BigEndianWriter writer)
{
writer.WriteDouble(id);
writer.WriteVarInt(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.WriteVarLong(experience);
writer.WriteVarLong(experienceForLevel);
writer.WriteDouble(experienceForNextLevel);
writer.WriteSByte(level);
writer.WriteVarInt(maxPods);
writer.WriteVarInt(stamina);
writer.WriteVarInt(staminaMax);
writer.WriteVarInt(maturity);
writer.WriteVarInt(maturityForAdult);
writer.WriteVarInt(energy);
writer.WriteVarInt(energyMax);
writer.WriteInt(serenity);
writer.WriteInt(aggressivityMax);
writer.WriteVarInt(serenityMax);
writer.WriteVarInt(love);
writer.WriteVarInt(loveMax);
writer.WriteInt(fecondationTime);
writer.WriteInt(boostLimiter);
writer.WriteDouble(boostMax);
writer.WriteInt(reproductionCount);
writer.WriteVarInt(reproductionCountMax);
writer.WriteUShort((ushort)effectList.Length);
foreach (var entry in effectList)
{
entry.Serialize(writer);
}
}
示例12: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUShort((ushort)alliances.Length);
foreach (var entry in alliances)
{
entry.Serialize(writer);
}
writer.WriteUShort((ushort)allianceNbMembers.Length);
foreach (var entry in allianceNbMembers)
{
writer.WriteVarShort(entry);
}
writer.WriteUShort((ushort)allianceRoundWeigth.Length);
foreach (var entry in allianceRoundWeigth)
{
writer.WriteVarInt(entry);
}
writer.WriteUShort((ushort)allianceMatchScore.Length);
foreach (var entry in allianceMatchScore)
{
writer.WriteSByte(entry);
}
allianceMapWinner.Serialize(writer);
writer.WriteVarInt(allianceMapWinnerScore);
writer.WriteVarInt(allianceMapMyAllianceScore);
writer.WriteDouble(nextTickTime);
}
示例13: Serialize
public override void Serialize(BigEndianWriter writer)
{
byte flag1 = 0;
flag1 = BooleanByteWrapper.SetFlag(flag1, 0, autoconnect);
flag1 = BooleanByteWrapper.SetFlag(flag1, 1, useCertificate);
flag1 = BooleanByteWrapper.SetFlag(flag1, 2, useLoginToken);
writer.WriteByte(flag1);
version.Serialize(writer);
writer.WriteUTF(lang);
writer.WriteVarInt(credentials.Length);
foreach (var entry in credentials)
{
writer.WriteSByte(entry);
}
writer.WriteShort(serverId);
writer.WriteDouble(sessionOptionalSalt);
writer.WriteShort((short)this.failedAttempts.Count);
foreach (short s in failedAttempts)
writer.WriteShort(s);
}
示例14: Serialize
public override void Serialize(BigEndianWriter writer)
{
base.Serialize(writer);
writer.WriteDouble(banEndDate);
}
示例15: Serialize
public override void Serialize(BigEndianWriter writer)
{
writer.WriteUTF(collectorName);
writer.WriteShort(worldX);
writer.WriteShort(worldY);
writer.WriteInt(mapId);
writer.WriteVarShort(subAreaId);
writer.WriteUTF(userName);
writer.WriteDouble(experience);
writer.WriteUShort((ushort)objectsInfos.Length);
foreach (var entry in objectsInfos)
{
entry.Serialize(writer);
}
}