You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
468 B
C#
21 lines
468 B
C#
using DotNetCTFDumper.Utils;
|
|
|
|
namespace DotNetCTFDumper.MMFParser.EXE.Loaders.Events.Parameters
|
|
{
|
|
class Short : ParameterCommon
|
|
{
|
|
public short Value;
|
|
|
|
public Short(ByteReader reader) : base(reader) { }
|
|
public override void Read()
|
|
{
|
|
Value = Reader.ReadInt16();
|
|
|
|
}
|
|
public override string ToString()
|
|
{
|
|
return $"{this.GetType().Name} value: {Value}";
|
|
}
|
|
}
|
|
}
|