本文整理汇总了C#中Emulator.Common.IO.BigEndianReader.ReadUShort方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianReader.ReadUShort方法的具体用法?C# BigEndianReader.ReadUShort怎么用?C# BigEndianReader.ReadUShort使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Emulator.Common.IO.BigEndianReader
的用法示例。
在下文中一共展示了BigEndianReader.ReadUShort方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Deserialize
public override void Deserialize(BigEndianReader reader)
{
base.Deserialize(reader);
Honor = reader.ReadUShort();
HonorGradeFloor = reader.ReadUShort();
HonorNextGradeFloor = reader.ReadUShort();
PvpEnabled = reader.ReadBoolean();
}
示例2: Deserialize
public override void Deserialize(BigEndianReader reader)
{
Id = reader.ReadUShort();
var limit = reader.ReadUShort();
Parameters = new string[limit];
for (int i = 0; i < limit; i++)
{
Parameters[i] = reader.ReadUTF();
}
ForceOpen = reader.ReadBoolean();
}
示例3: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
AngelsSubAreas = new short[limit];
for (int i = 0; i < limit; i++)
{
AngelsSubAreas[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
EvilsSubAreas = new short[limit];
for (int i = 0; i < limit; i++)
{
EvilsSubAreas[i] = reader.ReadShort();
}
}
示例4: Deserialize
public virtual void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
QuestsToValidId = new short[limit];
for (int i = 0; i < limit; i++)
{
QuestsToValidId[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
QuestsToStartId = new short[limit];
for (int i = 0; i < limit; i++)
{
QuestsToStartId[i] = reader.ReadShort();
}
}
示例5: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
Channels = new sbyte[limit];
for (int i = 0; i < limit; i++)
{
Channels[i] = reader.ReadSByte();
}
limit = reader.ReadUShort();
Disallowed = new sbyte[limit];
for (int i = 0; i < limit; i++)
{
Disallowed[i] = reader.ReadSByte();
}
}
示例6: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
Ids = new int[limit];
for (int i = 0; i < limit; i++)
{
Ids[i] = reader.ReadInt();
}
limit = reader.ReadUShort();
DeadsIds = new int[limit];
for (int i = 0; i < limit; i++)
{
DeadsIds[i] = reader.ReadInt();
}
}
示例7: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
Availables = new short[limit];
for (int i = 0; i < limit; i++)
{
Availables[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
Unavailables = new short[limit];
for (int i = 0; i < limit; i++)
{
Unavailables[i] = reader.ReadShort();
}
}
示例8: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
Cells = new short[limit];
for (int i = 0; i < limit; i++)
{
Cells[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
ReferenceIds = new int[limit];
for (int i = 0; i < limit; i++)
{
ReferenceIds[i] = reader.ReadInt();
}
}
示例9: Deserialize
public override void Deserialize(BigEndianReader reader)
{
base.Deserialize(reader);
var limit = reader.ReadUShort();
CharactersToRecolor = new CharacterToRecolorInformation[limit];
for (int i = 0; i < limit; i++)
{
CharactersToRecolor[i] = new CharacterToRecolorInformation();
CharactersToRecolor[i].Deserialize(reader);
}
limit = reader.ReadUShort();
CharactersToRename = new int[limit];
for (int i = 0; i < limit; i++)
{
CharactersToRename[i] = reader.ReadInt();
}
limit = reader.ReadUShort();
UnusableCharacters = new int[limit];
for (int i = 0; i < limit; i++)
{
UnusableCharacters[i] = reader.ReadInt();
}
limit = reader.ReadUShort();
CharactersToRelook = new CharacterToRelookInformation[limit];
for (int i = 0; i < limit; i++)
{
CharactersToRelook[i] = new CharacterToRelookInformation();
CharactersToRelook[i].Deserialize(reader);
}
}
示例10: Deserialize
public override void Deserialize(BigEndianReader reader)
{
Messageid = reader.ReadShort();
var limit = reader.ReadUShort();
DialogParams = new string[limit];
for (int i = 0; i < limit; i++)
{
DialogParams[i] = reader.ReadUTF();
}
limit = reader.ReadUShort();
VisibleReplies = new short[limit];
for (int i = 0; i < limit; i++)
{
VisibleReplies[i] = reader.ReadShort();
}
}
示例11: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
FinishedAchievementsIds = new short[limit];
for (int i = 0; i < limit; i++)
{
FinishedAchievementsIds[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
RewardableAchievements = new AchievementRewardable[limit];
for (int i = 0; i < limit; i++)
{
RewardableAchievements[i] = new AchievementRewardable();
RewardableAchievements[i].Deserialize(reader);
}
}
示例12: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
PositionsForChallengers = new short[limit];
for (int i = 0; i < limit; i++)
{
PositionsForChallengers[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
PositionsForDefenders = new short[limit];
for (int i = 0; i < limit; i++)
{
PositionsForDefenders[i] = reader.ReadShort();
}
TeamNumber = reader.ReadSByte();
}
示例13: Deserialize
public override void Deserialize(BigEndianReader reader)
{
SetId = reader.ReadShort();
var limit = reader.ReadUShort();
SetObjects = new short[limit];
for (int i = 0; i < limit; i++)
{
SetObjects[i] = reader.ReadShort();
}
limit = reader.ReadUShort();
SetEffects = new ObjectEffect[limit];
for (int i = 0; i < limit; i++)
{
SetEffects[i] = Types.ProtocolTypeManager.GetInstance<ObjectEffect>(reader.ReadShort());
SetEffects[i].Deserialize(reader);
}
}
示例14: Deserialize
public override void Deserialize(BigEndianReader reader)
{
DungeonId = reader.ReadShort();
var limit = reader.ReadUShort();
AddedPlayers = new DungeonPartyFinderPlayer[limit];
for (int i = 0; i < limit; i++)
{
AddedPlayers[i] = new DungeonPartyFinderPlayer();
AddedPlayers[i].Deserialize(reader);
}
limit = reader.ReadUShort();
RemovedPlayersIds = new int[limit];
for (int i = 0; i < limit; i++)
{
RemovedPlayersIds[i] = reader.ReadInt();
}
}
示例15: Deserialize
public override void Deserialize(BigEndianReader reader)
{
var limit = reader.ReadUShort();
StartedAchievements = new Types.Game.Achievement.Achievement[limit];
for (int i = 0; i < limit; i++)
{
StartedAchievements[i] = new Types.Game.Achievement.Achievement();
StartedAchievements[i].Deserialize(reader);
}
limit = reader.ReadUShort();
FinishedAchievements = new Types.Game.Achievement.Achievement[limit];
for (int i = 0; i < limit; i++)
{
FinishedAchievements[i] = new Types.Game.Achievement.Achievement();
FinishedAchievements[i].Deserialize(reader);
}
}