本文整理汇总了C#中BlamLib.ReadUInt16方法的典型用法代码示例。如果您正苦于以下问题:C# BlamLib.ReadUInt16方法的具体用法?C# BlamLib.ReadUInt16怎么用?C# BlamLib.ReadUInt16使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BlamLib
的用法示例。
在下文中一共展示了BlamLib.ReadUInt16方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Read
public override void Read(BlamLib.IO.EndianReader s)
{
base.Read(s);
ScoreToWin = s.ReadInt16();
Flags = s.ReadUInt16();
KillPoints = s.ReadByte();
TakedownPoints = s.ReadByte();
KillAsVipPoints = s.ReadByte();
VipDeathPoints = s.ReadByte();
DestinationArrivalPoints = s.ReadByte();
SuicidePoints = s.ReadByte();
BetrayalPoints = s.ReadByte();
VipSuicidePoints = s.ReadByte();
VipSelection = s.ReadByte();
ZoneMovement = s.ReadByte();
ZoneOrder = s.ReadByte();
s.Seek(1, System.IO.SeekOrigin.Current);
InfluenceRadius = s.ReadInt16();
VipTraits.Read(s);
ProximityTraits.Read(s);
VipTeamTraits.Read(s);
}
示例2: Read
public override void Read(BlamLib.IO.EndianReader s)
{
GroupIndex = (short)(datum.Index = s.ReadUInt16());
datum.Salt = (short)s.ReadUInt16();
address = s.ReadUInt32();
offset = (int)(address - s.BaseAddress);
size = 0;
}
示例3: Read
public void Read(BlamLib.IO.EndianReader s)
{
X = s.ReadUInt16();
Y = s.ReadUInt16();
Z = s.ReadUInt16();
W = s.ReadUInt16();
}