mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 05:04:50 +08:00
Audio dat.rel to XML conversion
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user