//
#nullable enable
namespace GFramework.Game.Config.Generated;
///
/// Auto-generated table wrapper for schema file 'monster.schema.json'.
/// The wrapper keeps generated call sites strongly typed while delegating actual storage to the runtime config table implementation.
///
public sealed partial class MonsterTable : global::GFramework.Game.Abstractions.Config.IConfigTable
{
private readonly global::GFramework.Game.Abstractions.Config.IConfigTable _inner;
///
/// Creates a generated table wrapper around the runtime config table instance.
///
/// The runtime config table instance.
public MonsterTable(global::GFramework.Game.Abstractions.Config.IConfigTable inner)
{
_inner = inner ?? throw new global::System.ArgumentNullException(nameof(inner));
}
///
public global::System.Type KeyType => _inner.KeyType;
///
public global::System.Type ValueType => _inner.ValueType;
///
public int Count => _inner.Count;
///
public MonsterConfig Get(int key)
{
return _inner.Get(key);
}
///
public bool TryGet(int key, out MonsterConfig? value)
{
return _inner.TryGet(key, out value);
}
///
public bool ContainsKey(int key)
{
return _inner.ContainsKey(key);
}
///
public global::System.Collections.Generic.IReadOnlyCollection All()
{
return _inner.All();
}
}