Audio dat.rel to XML conversion

This commit is contained in:
dexy
2019-01-16 00:51:53 +11:00
Unverified
parent 2c5a907a8e
commit 179afd5794
13 changed files with 2008 additions and 242 deletions
@@ -194,6 +194,10 @@ namespace CodeWalker.GameFiles
{
return new FlagsByte(v);
}
public static implicit operator byte(FlagsByte v)
{
return v.Value; //implicit conversion
}
}
[TypeConverter(typeof(ExpandableObjectConverter))] public struct FlagsUshort
@@ -234,6 +238,11 @@ namespace CodeWalker.GameFiles
{
return new FlagsUshort(v);
}
public static implicit operator ushort(FlagsUshort v)
{
return v.Value; //implicit conversion
}
}
[TypeConverter(typeof(ExpandableObjectConverter))] public struct FlagsUint
@@ -274,6 +283,11 @@ namespace CodeWalker.GameFiles
{
return new FlagsUint(v);
}
public static implicit operator uint(FlagsUint v)
{
return v.Value; //implicit conversion
}
}