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.
23 lines
660 B
C#
23 lines
660 B
C#
using DotNetCTFDumper.Utils;
|
|
|
|
namespace DotNetCTFDumper.MMFParser.ChunkLoaders.Events.Parameters
|
|
{
|
|
class ParamObject : ParameterCommon
|
|
{
|
|
public int ObjectInfoList;
|
|
public int ObjectInfo;
|
|
public int ObjectType;
|
|
public ParamObject(ByteReader reader) : base(reader) { }
|
|
public override void Read()
|
|
{
|
|
ObjectInfoList = Reader.ReadInt16();
|
|
ObjectInfo = Reader.ReadUInt16();
|
|
ObjectType = Reader.ReadInt16();
|
|
}
|
|
public override string ToString()
|
|
{
|
|
return $"Object {ObjectInfoList} {ObjectInfo} {ObjectType}";
|
|
}
|
|
}
|
|
}
|