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.
22 lines
515 B
C#
22 lines
515 B
C#
using System;
|
|
using DotNetCTFDumper.Utils;
|
|
|
|
namespace DotNetCTFDumper.MMFParser.ChunkLoaders.Events.Parameters
|
|
{
|
|
class GlobalValue : Short
|
|
{
|
|
|
|
|
|
public GlobalValue(ByteReader reader) : base(reader) { }
|
|
public override void Read()
|
|
{
|
|
base.Read();
|
|
}
|
|
public override string ToString()
|
|
{
|
|
if(Value>26) return $"GlobalValue{Value}";
|
|
return $"GlobalValue{Convert.ToChar(Value).ToString().ToUpper()}";
|
|
}
|
|
}
|
|
}
|