本文整理汇总了C#中CrystalMpq.MpqFileStream.ReadValueS16方法的典型用法代码示例。如果您正苦于以下问题:C# MpqFileStream.ReadValueS16方法的具体用法?C# MpqFileStream.ReadValueS16怎么用?C# MpqFileStream.ReadValueS16使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CrystalMpq.MpqFileStream
的用法示例。
在下文中一共展示了MpqFileStream.ReadValueS16方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Read
public void Read(MpqFileStream stream)
{
Flags = stream.ReadValueS16();
W1 = stream.ReadValueS16();
W2 = stream.ReadValueS16();
}
示例2: Read
public void Read(MpqFileStream stream)
{
I0 = stream.ReadValueS32();
I1 = stream.ReadValueS16();
I2 = stream.ReadValueS16();
B1 = stream.ReadValueS8();
B2 = stream.ReadValueS8();
stream.Position += 2;
}
示例3: Quaternion16
/// <summary>
/// Reads Quaternion16 from given MPQFileStream.
/// </summary>
/// <param name="stream">The MPQFileStream to read from.</param>
public Quaternion16(MpqFileStream stream)
{
this.Short0 = stream.ReadValueS16();
this.Short1 = stream.ReadValueS16();
this.Short2 = stream.ReadValueS16();
this.Short3 = stream.ReadValueS16();
}
示例4: Read
public void Read(MpqFileStream stream)
{
I0 = stream.ReadValueS32();
I1 = stream.ReadValueS32();
I2 = stream.ReadValueS32();
I3 = stream.ReadValueS32();
I4 = stream.ReadValueS32();
I5 = stream.ReadValueS32();
I6 = stream.ReadValueS16();
}