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
511 B
C#

using System;
using NetMFAPatcher.Utils;
namespace NetMFAPatcher.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()}";
}
}
}