mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
29 lines
416 B
C#
29 lines
416 B
C#
using FullSerializer;
|
|
|
|
namespace MoleMole
|
|
{
|
|
[fsObject(Converter = typeof(ConfigOverrideListConverter))]
|
|
public class ConfigOverrideList
|
|
{
|
|
public static ConfigOverrideList EMPTY = new ConfigOverrideList
|
|
{
|
|
objects = new object[0]
|
|
};
|
|
|
|
public object[] objects;
|
|
|
|
public int length
|
|
{
|
|
get
|
|
{
|
|
return objects.Length;
|
|
}
|
|
}
|
|
|
|
public T GetConfig<T>(int ix)
|
|
{
|
|
return (T)objects[ix];
|
|
}
|
|
}
|
|
}
|