using System; using System.Collections.Generic; using BansheeGz.BGDatabase; //============================================================= //|| Generated by BansheeGz Code Generator || //============================================================= #pragma warning disable 414 public partial class DB_HuntingData : BGEntity { public class Factory : BGEntity.EntityFactory { public BGEntity NewEntity(BGMetaEntity meta) => new DB_HuntingData(meta); public BGEntity NewEntity(BGMetaEntity meta, BGId id) => new DB_HuntingData(meta, id); } public static class __Names { public const string Meta = "HuntingData"; public const string name = "name"; public const string HuntingImage = "HuntingImage"; public const string UnlockImage = "UnlockImage"; public const string Script = "Script"; public const string Stake = "Stake"; public const string ClearConditionMoney = "ClearConditionMoney"; public const string Name = "Name"; public const string Description = "Description"; public const string n_AlbumType = "n_AlbumType"; public const string NeedKey = "NeedKey"; public const string NeedHeart = "NeedHeart"; public const string NeedLv = "NeedLv"; public const string n_Group = "n_Group"; } private static BansheeGz.BGDatabase.BGMetaRow _metaDefault; public static BansheeGz.BGDatabase.BGMetaRow MetaDefault => _metaDefault ?? (_metaDefault = BGCodeGenUtils.GetMeta(new BGId(5596441023656399567UL,15076767032258538916UL), () => _metaDefault = null)); public static BansheeGz.BGDatabase.BGRepoEvents Events => BGRepo.I.Events; public static int CountEntities => MetaDefault.CountEntities; public System.String DBF_name { get => _DBF_name[Index]; set => _DBF_name[Index] = value; } public UnityEngine.Sprite DBF_HuntingImage => _DBF_HuntingImage[Index]; public UnityEngine.Sprite DBF_UnlockImage => _DBF_UnlockImage[Index]; public List DBF_Script => BGCodeGenUtils.GetNested(_DBF_Script, Index); public System.Int32 DBF_Stake { get => _DBF_Stake[Index]; set => _DBF_Stake[Index] = value; } public System.Int64 DBF_ClearConditionMoney { get => _DBF_ClearConditionMoney[Index]; set => _DBF_ClearConditionMoney[Index] = value; } public System.String DBF_Name { get => _DBF_Name[Index]; set => _DBF_Name[Index] = value; } public System.String DBF_Description { get => _DBF_Description[Index]; set => _DBF_Description[Index] = value; } public System.Int32 DBF_n_AlbumType { get => _DBF_n_AlbumType[Index]; set => _DBF_n_AlbumType[Index] = value; } public System.Int32 DBF_NeedKey { get => _DBF_NeedKey[Index]; set => _DBF_NeedKey[Index] = value; } public System.Int32 DBF_NeedHeart { get => _DBF_NeedHeart[Index]; set => _DBF_NeedHeart[Index] = value; } public System.Int32 DBF_NeedLv { get => _DBF_NeedLv[Index]; set => _DBF_NeedLv[Index] = value; } public System.Int32 DBF_n_Group { get => _DBF_n_Group[Index]; set => _DBF_n_Group[Index] = value; } private static BansheeGz.BGDatabase.BGFieldEntityName _ufle12jhs77_DBF_name; public static BansheeGz.BGDatabase.BGFieldEntityName _DBF_name => _ufle12jhs77_DBF_name ?? (_ufle12jhs77_DBF_name = BGCodeGenUtils.GetField(MetaDefault, new BGId(4847030112262966783UL, 17507168723429622181UL), () => _ufle12jhs77_DBF_name = null)); private static BansheeGz.BGDatabase.BGFieldUnitySprite _ufle12jhs77_DBF_HuntingImage; public static BansheeGz.BGDatabase.BGFieldUnitySprite _DBF_HuntingImage => _ufle12jhs77_DBF_HuntingImage ?? (_ufle12jhs77_DBF_HuntingImage = BGCodeGenUtils.GetField(MetaDefault, new BGId(5097654859386770589UL, 14831500094168419738UL), () => _ufle12jhs77_DBF_HuntingImage = null)); private static BansheeGz.BGDatabase.BGFieldUnitySprite _ufle12jhs77_DBF_UnlockImage; public static BansheeGz.BGDatabase.BGFieldUnitySprite _DBF_UnlockImage => _ufle12jhs77_DBF_UnlockImage ?? (_ufle12jhs77_DBF_UnlockImage = BGCodeGenUtils.GetField(MetaDefault, new BGId(5140562746735643303UL, 5518861519427417998UL), () => _ufle12jhs77_DBF_UnlockImage = null)); private static BansheeGz.BGDatabase.BGFieldNested _ufle12jhs77_DBF_Script; public static BansheeGz.BGDatabase.BGFieldNested _DBF_Script => _ufle12jhs77_DBF_Script ?? (_ufle12jhs77_DBF_Script = BGCodeGenUtils.GetField(MetaDefault, new BGId(5024179923451232113UL, 15508131230344374441UL), () => _ufle12jhs77_DBF_Script = null)); private static BansheeGz.BGDatabase.BGFieldInt _ufle12jhs77_DBF_Stake; public static BansheeGz.BGDatabase.BGFieldInt _DBF_Stake => _ufle12jhs77_DBF_Stake ?? (_ufle12jhs77_DBF_Stake = BGCodeGenUtils.GetField(MetaDefault, new BGId(5564998552656591813UL, 11916393543583427474UL), () => _ufle12jhs77_DBF_Stake = null)); private static BansheeGz.BGDatabase.BGFieldLong _ufle12jhs77_DBF_ClearConditionMoney; public static BansheeGz.BGDatabase.BGFieldLong _DBF_ClearConditionMoney => _ufle12jhs77_DBF_ClearConditionMoney ?? (_ufle12jhs77_DBF_ClearConditionMoney = BGCodeGenUtils.GetField(MetaDefault, new BGId(4941378510188714889UL, 17391603442918291333UL), () => _ufle12jhs77_DBF_ClearConditionMoney = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_Name; public static BansheeGz.BGDatabase.BGFieldString _DBF_Name => _ufle12jhs77_DBF_Name ?? (_ufle12jhs77_DBF_Name = BGCodeGenUtils.GetField(MetaDefault, new BGId(5618959453113093320UL, 13927985292163229361UL), () => _ufle12jhs77_DBF_Name = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_Description; public static BansheeGz.BGDatabase.BGFieldString _DBF_Description => _ufle12jhs77_DBF_Description ?? (_ufle12jhs77_DBF_Description = BGCodeGenUtils.GetField(MetaDefault, new BGId(4722429003445808783UL, 13878556420686707390UL), () => _ufle12jhs77_DBF_Description = null)); private static BansheeGz.BGDatabase.BGFieldInt _ufle12jhs77_DBF_n_AlbumType; public static BansheeGz.BGDatabase.BGFieldInt _DBF_n_AlbumType => _ufle12jhs77_DBF_n_AlbumType ?? (_ufle12jhs77_DBF_n_AlbumType = BGCodeGenUtils.GetField(MetaDefault, new BGId(5125684997853971800UL, 2820862331281249426UL), () => _ufle12jhs77_DBF_n_AlbumType = null)); private static BansheeGz.BGDatabase.BGFieldInt _ufle12jhs77_DBF_NeedKey; public static BansheeGz.BGDatabase.BGFieldInt _DBF_NeedKey => _ufle12jhs77_DBF_NeedKey ?? (_ufle12jhs77_DBF_NeedKey = BGCodeGenUtils.GetField(MetaDefault, new BGId(5573446524110709168UL, 10157632733697680794UL), () => _ufle12jhs77_DBF_NeedKey = null)); private static BansheeGz.BGDatabase.BGFieldInt _ufle12jhs77_DBF_NeedHeart; public static BansheeGz.BGDatabase.BGFieldInt _DBF_NeedHeart => _ufle12jhs77_DBF_NeedHeart ?? (_ufle12jhs77_DBF_NeedHeart = BGCodeGenUtils.GetField(MetaDefault, new BGId(5379803791366865188UL, 14974488217691312056UL), () => _ufle12jhs77_DBF_NeedHeart = null)); private static BansheeGz.BGDatabase.BGFieldInt _ufle12jhs77_DBF_NeedLv; public static BansheeGz.BGDatabase.BGFieldInt _DBF_NeedLv => _ufle12jhs77_DBF_NeedLv ?? (_ufle12jhs77_DBF_NeedLv = BGCodeGenUtils.GetField(MetaDefault, new BGId(5038055206684577747UL, 11596037531323484338UL), () => _ufle12jhs77_DBF_NeedLv = null)); private static BansheeGz.BGDatabase.BGFieldInt _ufle12jhs77_DBF_n_Group; public static BansheeGz.BGDatabase.BGFieldInt _DBF_n_Group => _ufle12jhs77_DBF_n_Group ?? (_ufle12jhs77_DBF_n_Group = BGCodeGenUtils.GetField(MetaDefault, new BGId(5264844295662611882UL, 8215687142479050639UL), () => _ufle12jhs77_DBF_n_Group = null)); private static readonly DB_HuntingData.Factory _factory0_PFS = new DB_HuntingData.Factory(); private static readonly DB_Script.Factory _factory1_PFS = new DB_Script.Factory(); private static readonly DB_HuntingListData.Factory _factory2_PFS = new DB_HuntingListData.Factory(); private static readonly DB_EventData.Factory _factory3_PFS = new DB_EventData.Factory(); private static readonly DB_EventScript.Factory _factory4_PFS = new DB_EventScript.Factory(); private DB_HuntingData() : base(MetaDefault) {} private DB_HuntingData(BGId id) : base(MetaDefault, id) {} private DB_HuntingData(BGMetaEntity meta) : base(meta) {} private DB_HuntingData(BGMetaEntity meta, BGId id) : base(meta, id) {} public static DB_HuntingData FindEntity(Predicate filter) => BGCodeGenUtils.FindEntity(MetaDefault, filter); public static List FindEntities(Predicate filter, List result=null, Comparison sort=null) => BGCodeGenUtils.FindEntities(MetaDefault, filter, result, sort); public static void ForEachEntity(Action action, Predicate filter=null, Comparison sort=null) => BGCodeGenUtils.ForEachEntity(MetaDefault, action, filter, sort); public static DB_HuntingData GetEntity(BGId entityId) => (DB_HuntingData) MetaDefault.GetEntity(entityId); public static DB_HuntingData GetEntity(int index) => (DB_HuntingData) MetaDefault[index]; public static DB_HuntingData GetEntity(string entityName) => (DB_HuntingData) MetaDefault.GetEntity(entityName); public static DB_HuntingData NewEntity() => (DB_HuntingData) MetaDefault.NewEntity(); public static DB_HuntingData NewEntity(BGId entityId) => (DB_HuntingData) MetaDefault.NewEntity(entityId); public static DB_HuntingData NewEntity(Action callback) => (DB_HuntingData) MetaDefault.NewEntity(new BGMetaEntity.NewEntityContext(entity => callback((DB_HuntingData)entity))); public UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle? LoadDBF_HuntingImageAsync(Action completedCallback) => BGAddressablesCodeGenUtils.LoadAsync(_DBF_HuntingImage, Index, completedCallback); public string GetDBF_HuntingImageAddressablesAddress() => _DBF_HuntingImage.GetAddressablesAddress(Index); public UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle? LoadDBF_UnlockImageAsync(Action completedCallback) => BGAddressablesCodeGenUtils.LoadAsync(_DBF_UnlockImage, Index, completedCallback); public string GetDBF_UnlockImageAddressablesAddress() => _DBF_UnlockImage.GetAddressablesAddress(Index); } public partial class DB_Script : BGEntity { public class Factory : BGEntity.EntityFactory { public BGEntity NewEntity(BGMetaEntity meta) => new DB_Script(meta); public BGEntity NewEntity(BGMetaEntity meta, BGId id) => new DB_Script(meta, id); } public static class __Names { public const string Meta = "Script"; public const string name = "name"; public const string HuntingData = "HuntingData"; public const string HuntingScript = "HuntingScript"; public const string CharacterName = "CharacterName"; } private static BansheeGz.BGDatabase.BGMetaNested _metaDefault; public static BansheeGz.BGDatabase.BGMetaNested MetaDefault => _metaDefault ?? (_metaDefault = BGCodeGenUtils.GetMeta(new BGId(5491581379214428995UL,7940174521940467113UL), () => _metaDefault = null)); public static BansheeGz.BGDatabase.BGRepoEvents Events => BGRepo.I.Events; public static int CountEntities => MetaDefault.CountEntities; public System.String DBF_name { get => _DBF_name[Index]; set => _DBF_name[Index] = value; } public DB_HuntingData DBF_HuntingData { get => (DB_HuntingData) _DBF_HuntingData[Index]; set => _DBF_HuntingData[Index] = value; } public System.String DBF_HuntingScript { get => _DBF_HuntingScript[Index]; set => _DBF_HuntingScript[Index] = value; } public System.String DBF_CharacterName { get => _DBF_CharacterName[Index]; set => _DBF_CharacterName[Index] = value; } private static BansheeGz.BGDatabase.BGFieldEntityName _ufle12jhs77_DBF_name; public static BansheeGz.BGDatabase.BGFieldEntityName _DBF_name => _ufle12jhs77_DBF_name ?? (_ufle12jhs77_DBF_name = BGCodeGenUtils.GetField(MetaDefault, new BGId(4646632360310224557UL, 6557714652738913710UL), () => _ufle12jhs77_DBF_name = null)); private static BansheeGz.BGDatabase.BGFieldRelationSingle _ufle12jhs77_DBF_HuntingData; public static BansheeGz.BGDatabase.BGFieldRelationSingle _DBF_HuntingData => _ufle12jhs77_DBF_HuntingData ?? (_ufle12jhs77_DBF_HuntingData = BGCodeGenUtils.GetField(MetaDefault, new BGId(5215319568781186799UL, 8463678025288314533UL), () => _ufle12jhs77_DBF_HuntingData = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_HuntingScript; public static BansheeGz.BGDatabase.BGFieldString _DBF_HuntingScript => _ufle12jhs77_DBF_HuntingScript ?? (_ufle12jhs77_DBF_HuntingScript = BGCodeGenUtils.GetField(MetaDefault, new BGId(4938817569072521417UL, 1113750519839768491UL), () => _ufle12jhs77_DBF_HuntingScript = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_CharacterName; public static BansheeGz.BGDatabase.BGFieldString _DBF_CharacterName => _ufle12jhs77_DBF_CharacterName ?? (_ufle12jhs77_DBF_CharacterName = BGCodeGenUtils.GetField(MetaDefault, new BGId(4947153626864100696UL, 14565769480738984332UL), () => _ufle12jhs77_DBF_CharacterName = null)); private static readonly DB_HuntingData.Factory _factory0_PFS = new DB_HuntingData.Factory(); private static readonly DB_Script.Factory _factory1_PFS = new DB_Script.Factory(); private static readonly DB_HuntingListData.Factory _factory2_PFS = new DB_HuntingListData.Factory(); private static readonly DB_EventData.Factory _factory3_PFS = new DB_EventData.Factory(); private static readonly DB_EventScript.Factory _factory4_PFS = new DB_EventScript.Factory(); private DB_Script() : base(MetaDefault) {} private DB_Script(BGId id) : base(MetaDefault, id) {} private DB_Script(BGMetaEntity meta) : base(meta) {} private DB_Script(BGMetaEntity meta, BGId id) : base(meta, id) {} public static DB_Script FindEntity(Predicate filter) => BGCodeGenUtils.FindEntity(MetaDefault, filter); public static List FindEntities(Predicate filter, List result=null, Comparison sort=null) => BGCodeGenUtils.FindEntities(MetaDefault, filter, result, sort); public static void ForEachEntity(Action action, Predicate filter=null, Comparison sort=null) => BGCodeGenUtils.ForEachEntity(MetaDefault, action, filter, sort); public static DB_Script GetEntity(BGId entityId) => (DB_Script) MetaDefault.GetEntity(entityId); public static DB_Script GetEntity(int index) => (DB_Script) MetaDefault[index]; public static DB_Script GetEntity(string entityName) => (DB_Script) MetaDefault.GetEntity(entityName); public static DB_Script NewEntity() => (DB_Script) MetaDefault.NewEntity(); public static DB_Script NewEntity(BGId entityId) => (DB_Script) MetaDefault.NewEntity(entityId); public static DB_Script NewEntity(Action callback) => (DB_Script) MetaDefault.NewEntity(new BGMetaEntity.NewEntityContext(entity => callback((DB_Script)entity))); public static DB_Script NewEntity(DB_HuntingData owner) => (DB_Script) MetaDefault.NewEntity(owner); public static DB_Script NewEntity(DB_HuntingData owner, BGId entityId) => (DB_Script) MetaDefault.NewEntity(owner, entityId); public static DB_Script NewEntity(DB_HuntingData owner, Action callback) => (DB_Script) MetaDefault.NewEntity(owner, new BGMetaEntity.NewEntityContext(entity => callback((DB_Script)entity))); } public partial class DB_HuntingListData : BGEntity { public class Factory : BGEntity.EntityFactory { public BGEntity NewEntity(BGMetaEntity meta) => new DB_HuntingListData(meta); public BGEntity NewEntity(BGMetaEntity meta, BGId id) => new DB_HuntingListData(meta, id); } public static class __Names { public const string Meta = "HuntingListData"; public const string name = "name"; public const string FirstHuntingDataID = "FirstHuntingDataID"; public const string SecondHuntingDataID = "SecondHuntingDataID"; public const string Title = "Title"; } private static BansheeGz.BGDatabase.BGMetaRow _metaDefault; public static BansheeGz.BGDatabase.BGMetaRow MetaDefault => _metaDefault ?? (_metaDefault = BGCodeGenUtils.GetMeta(new BGId(5212801963158692606UL,18097612922996121242UL), () => _metaDefault = null)); public static BansheeGz.BGDatabase.BGRepoEvents Events => BGRepo.I.Events; public static int CountEntities => MetaDefault.CountEntities; public System.String DBF_name { get => _DBF_name[Index]; set => _DBF_name[Index] = value; } public BansheeGz.BGDatabase.BGId DBF_FirstHuntingDataID { get => _DBF_FirstHuntingDataID[Index]; set => _DBF_FirstHuntingDataID[Index] = value; } public BansheeGz.BGDatabase.BGId DBF_SecondHuntingDataID { get => _DBF_SecondHuntingDataID[Index]; set => _DBF_SecondHuntingDataID[Index] = value; } public System.String DBF_Title { get => _DBF_Title[Index]; set => _DBF_Title[Index] = value; } private static BansheeGz.BGDatabase.BGFieldEntityName _ufle12jhs77_DBF_name; public static BansheeGz.BGDatabase.BGFieldEntityName _DBF_name => _ufle12jhs77_DBF_name ?? (_ufle12jhs77_DBF_name = BGCodeGenUtils.GetField(MetaDefault, new BGId(4646405117411004353UL, 11045622884348909462UL), () => _ufle12jhs77_DBF_name = null)); private static BansheeGz.BGDatabase.BGFieldId _ufle12jhs77_DBF_FirstHuntingDataID; public static BansheeGz.BGDatabase.BGFieldId _DBF_FirstHuntingDataID => _ufle12jhs77_DBF_FirstHuntingDataID ?? (_ufle12jhs77_DBF_FirstHuntingDataID = BGCodeGenUtils.GetField(MetaDefault, new BGId(4940375936446778221UL, 12195320198411188122UL), () => _ufle12jhs77_DBF_FirstHuntingDataID = null)); private static BansheeGz.BGDatabase.BGFieldId _ufle12jhs77_DBF_SecondHuntingDataID; public static BansheeGz.BGDatabase.BGFieldId _DBF_SecondHuntingDataID => _ufle12jhs77_DBF_SecondHuntingDataID ?? (_ufle12jhs77_DBF_SecondHuntingDataID = BGCodeGenUtils.GetField(MetaDefault, new BGId(4977458739869891809UL, 5382180932131762828UL), () => _ufle12jhs77_DBF_SecondHuntingDataID = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_Title; public static BansheeGz.BGDatabase.BGFieldString _DBF_Title => _ufle12jhs77_DBF_Title ?? (_ufle12jhs77_DBF_Title = BGCodeGenUtils.GetField(MetaDefault, new BGId(5010376717298631587UL, 5485181533781528482UL), () => _ufle12jhs77_DBF_Title = null)); private static readonly DB_HuntingData.Factory _factory0_PFS = new DB_HuntingData.Factory(); private static readonly DB_Script.Factory _factory1_PFS = new DB_Script.Factory(); private static readonly DB_HuntingListData.Factory _factory2_PFS = new DB_HuntingListData.Factory(); private static readonly DB_EventData.Factory _factory3_PFS = new DB_EventData.Factory(); private static readonly DB_EventScript.Factory _factory4_PFS = new DB_EventScript.Factory(); private DB_HuntingListData() : base(MetaDefault) {} private DB_HuntingListData(BGId id) : base(MetaDefault, id) {} private DB_HuntingListData(BGMetaEntity meta) : base(meta) {} private DB_HuntingListData(BGMetaEntity meta, BGId id) : base(meta, id) {} public static DB_HuntingListData FindEntity(Predicate filter) => BGCodeGenUtils.FindEntity(MetaDefault, filter); public static List FindEntities(Predicate filter, List result=null, Comparison sort=null) => BGCodeGenUtils.FindEntities(MetaDefault, filter, result, sort); public static void ForEachEntity(Action action, Predicate filter=null, Comparison sort=null) => BGCodeGenUtils.ForEachEntity(MetaDefault, action, filter, sort); public static DB_HuntingListData GetEntity(BGId entityId) => (DB_HuntingListData) MetaDefault.GetEntity(entityId); public static DB_HuntingListData GetEntity(int index) => (DB_HuntingListData) MetaDefault[index]; public static DB_HuntingListData GetEntity(string entityName) => (DB_HuntingListData) MetaDefault.GetEntity(entityName); public static DB_HuntingListData NewEntity() => (DB_HuntingListData) MetaDefault.NewEntity(); public static DB_HuntingListData NewEntity(BGId entityId) => (DB_HuntingListData) MetaDefault.NewEntity(entityId); public static DB_HuntingListData NewEntity(Action callback) => (DB_HuntingListData) MetaDefault.NewEntity(new BGMetaEntity.NewEntityContext(entity => callback((DB_HuntingListData)entity))); } public partial class DB_EventData : BGEntity { public class Factory : BGEntity.EntityFactory { public BGEntity NewEntity(BGMetaEntity meta) => new DB_EventData(meta); public BGEntity NewEntity(BGMetaEntity meta, BGId id) => new DB_EventData(meta, id); } public static class __Names { public const string Meta = "EventData"; public const string name = "name"; public const string EventScript = "EventScript"; } private static BansheeGz.BGDatabase.BGMetaRow _metaDefault; public static BansheeGz.BGDatabase.BGMetaRow MetaDefault => _metaDefault ?? (_metaDefault = BGCodeGenUtils.GetMeta(new BGId(5249660955368411958UL,3779206690983373474UL), () => _metaDefault = null)); public static BansheeGz.BGDatabase.BGRepoEvents Events => BGRepo.I.Events; public static int CountEntities => MetaDefault.CountEntities; public System.String DBF_name { get => _DBF_name[Index]; set => _DBF_name[Index] = value; } public List DBF_EventScript => BGCodeGenUtils.GetNested(_DBF_EventScript, Index); private static BansheeGz.BGDatabase.BGFieldEntityName _ufle12jhs77_DBF_name; public static BansheeGz.BGDatabase.BGFieldEntityName _DBF_name => _ufle12jhs77_DBF_name ?? (_ufle12jhs77_DBF_name = BGCodeGenUtils.GetField(MetaDefault, new BGId(5157498419521547415UL, 5278495236855065242UL), () => _ufle12jhs77_DBF_name = null)); private static BansheeGz.BGDatabase.BGFieldNested _ufle12jhs77_DBF_EventScript; public static BansheeGz.BGDatabase.BGFieldNested _DBF_EventScript => _ufle12jhs77_DBF_EventScript ?? (_ufle12jhs77_DBF_EventScript = BGCodeGenUtils.GetField(MetaDefault, new BGId(5390527872820830630UL, 9044643944088157855UL), () => _ufle12jhs77_DBF_EventScript = null)); private static readonly DB_HuntingData.Factory _factory0_PFS = new DB_HuntingData.Factory(); private static readonly DB_Script.Factory _factory1_PFS = new DB_Script.Factory(); private static readonly DB_HuntingListData.Factory _factory2_PFS = new DB_HuntingListData.Factory(); private static readonly DB_EventData.Factory _factory3_PFS = new DB_EventData.Factory(); private static readonly DB_EventScript.Factory _factory4_PFS = new DB_EventScript.Factory(); private DB_EventData() : base(MetaDefault) {} private DB_EventData(BGId id) : base(MetaDefault, id) {} private DB_EventData(BGMetaEntity meta) : base(meta) {} private DB_EventData(BGMetaEntity meta, BGId id) : base(meta, id) {} public static DB_EventData FindEntity(Predicate filter) => BGCodeGenUtils.FindEntity(MetaDefault, filter); public static List FindEntities(Predicate filter, List result=null, Comparison sort=null) => BGCodeGenUtils.FindEntities(MetaDefault, filter, result, sort); public static void ForEachEntity(Action action, Predicate filter=null, Comparison sort=null) => BGCodeGenUtils.ForEachEntity(MetaDefault, action, filter, sort); public static DB_EventData GetEntity(BGId entityId) => (DB_EventData) MetaDefault.GetEntity(entityId); public static DB_EventData GetEntity(int index) => (DB_EventData) MetaDefault[index]; public static DB_EventData GetEntity(string entityName) => (DB_EventData) MetaDefault.GetEntity(entityName); public static DB_EventData NewEntity() => (DB_EventData) MetaDefault.NewEntity(); public static DB_EventData NewEntity(BGId entityId) => (DB_EventData) MetaDefault.NewEntity(entityId); public static DB_EventData NewEntity(Action callback) => (DB_EventData) MetaDefault.NewEntity(new BGMetaEntity.NewEntityContext(entity => callback((DB_EventData)entity))); } public partial class DB_EventScript : BGEntity { public class Factory : BGEntity.EntityFactory { public BGEntity NewEntity(BGMetaEntity meta) => new DB_EventScript(meta); public BGEntity NewEntity(BGMetaEntity meta, BGId id) => new DB_EventScript(meta, id); } public static class __Names { public const string Meta = "EventScript"; public const string name = "name"; public const string EventData = "EventData"; public const string Image = "Image"; public const string EventScript = "EventScript"; public const string CharacterName = "CharacterName"; public const string BGM = "BGM"; } private static BansheeGz.BGDatabase.BGMetaNested _metaDefault; public static BansheeGz.BGDatabase.BGMetaNested MetaDefault => _metaDefault ?? (_metaDefault = BGCodeGenUtils.GetMeta(new BGId(5199963445036634719UL,11124762242768054967UL), () => _metaDefault = null)); public static BansheeGz.BGDatabase.BGRepoEvents Events => BGRepo.I.Events; public static int CountEntities => MetaDefault.CountEntities; public System.String DBF_name { get => _DBF_name[Index]; set => _DBF_name[Index] = value; } public DB_EventData DBF_EventData { get => (DB_EventData) _DBF_EventData[Index]; set => _DBF_EventData[Index] = value; } public UnityEngine.Sprite DBF_Image => _DBF_Image[Index]; public System.String DBF_EventScript { get => _DBF_EventScript[Index]; set => _DBF_EventScript[Index] = value; } public System.String DBF_CharacterName { get => _DBF_CharacterName[Index]; set => _DBF_CharacterName[Index] = value; } public System.String DBF_BGM { get => _DBF_BGM[Index]; set => _DBF_BGM[Index] = value; } private static BansheeGz.BGDatabase.BGFieldEntityName _ufle12jhs77_DBF_name; public static BansheeGz.BGDatabase.BGFieldEntityName _DBF_name => _ufle12jhs77_DBF_name ?? (_ufle12jhs77_DBF_name = BGCodeGenUtils.GetField(MetaDefault, new BGId(5717780294330645788UL, 1482635772632924597UL), () => _ufle12jhs77_DBF_name = null)); private static BansheeGz.BGDatabase.BGFieldRelationSingle _ufle12jhs77_DBF_EventData; public static BansheeGz.BGDatabase.BGFieldRelationSingle _DBF_EventData => _ufle12jhs77_DBF_EventData ?? (_ufle12jhs77_DBF_EventData = BGCodeGenUtils.GetField(MetaDefault, new BGId(4638935316039549512UL, 6967518635148546969UL), () => _ufle12jhs77_DBF_EventData = null)); private static BansheeGz.BGDatabase.BGFieldUnitySprite _ufle12jhs77_DBF_Image; public static BansheeGz.BGDatabase.BGFieldUnitySprite _DBF_Image => _ufle12jhs77_DBF_Image ?? (_ufle12jhs77_DBF_Image = BGCodeGenUtils.GetField(MetaDefault, new BGId(4934387236319590166UL, 10515218970336836485UL), () => _ufle12jhs77_DBF_Image = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_EventScript; public static BansheeGz.BGDatabase.BGFieldString _DBF_EventScript => _ufle12jhs77_DBF_EventScript ?? (_ufle12jhs77_DBF_EventScript = BGCodeGenUtils.GetField(MetaDefault, new BGId(5596056683165927120UL, 1950363092090327739UL), () => _ufle12jhs77_DBF_EventScript = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_CharacterName; public static BansheeGz.BGDatabase.BGFieldString _DBF_CharacterName => _ufle12jhs77_DBF_CharacterName ?? (_ufle12jhs77_DBF_CharacterName = BGCodeGenUtils.GetField(MetaDefault, new BGId(5364545273882418651UL, 349272370414897834UL), () => _ufle12jhs77_DBF_CharacterName = null)); private static BansheeGz.BGDatabase.BGFieldString _ufle12jhs77_DBF_BGM; public static BansheeGz.BGDatabase.BGFieldString _DBF_BGM => _ufle12jhs77_DBF_BGM ?? (_ufle12jhs77_DBF_BGM = BGCodeGenUtils.GetField(MetaDefault, new BGId(4744898081778627237UL, 17474682318608030616UL), () => _ufle12jhs77_DBF_BGM = null)); private static readonly DB_HuntingData.Factory _factory0_PFS = new DB_HuntingData.Factory(); private static readonly DB_Script.Factory _factory1_PFS = new DB_Script.Factory(); private static readonly DB_HuntingListData.Factory _factory2_PFS = new DB_HuntingListData.Factory(); private static readonly DB_EventData.Factory _factory3_PFS = new DB_EventData.Factory(); private static readonly DB_EventScript.Factory _factory4_PFS = new DB_EventScript.Factory(); private DB_EventScript() : base(MetaDefault) {} private DB_EventScript(BGId id) : base(MetaDefault, id) {} private DB_EventScript(BGMetaEntity meta) : base(meta) {} private DB_EventScript(BGMetaEntity meta, BGId id) : base(meta, id) {} public static DB_EventScript FindEntity(Predicate filter) => BGCodeGenUtils.FindEntity(MetaDefault, filter); public static List FindEntities(Predicate filter, List result=null, Comparison sort=null) => BGCodeGenUtils.FindEntities(MetaDefault, filter, result, sort); public static void ForEachEntity(Action action, Predicate filter=null, Comparison sort=null) => BGCodeGenUtils.ForEachEntity(MetaDefault, action, filter, sort); public static DB_EventScript GetEntity(BGId entityId) => (DB_EventScript) MetaDefault.GetEntity(entityId); public static DB_EventScript GetEntity(int index) => (DB_EventScript) MetaDefault[index]; public static DB_EventScript GetEntity(string entityName) => (DB_EventScript) MetaDefault.GetEntity(entityName); public static DB_EventScript NewEntity() => (DB_EventScript) MetaDefault.NewEntity(); public static DB_EventScript NewEntity(BGId entityId) => (DB_EventScript) MetaDefault.NewEntity(entityId); public static DB_EventScript NewEntity(Action callback) => (DB_EventScript) MetaDefault.NewEntity(new BGMetaEntity.NewEntityContext(entity => callback((DB_EventScript)entity))); public UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle? LoadDBF_ImageAsync(Action completedCallback) => BGAddressablesCodeGenUtils.LoadAsync(_DBF_Image, Index, completedCallback); public string GetDBF_ImageAddressablesAddress() => _DBF_Image.GetAddressablesAddress(Index); public static DB_EventScript NewEntity(DB_EventData owner) => (DB_EventScript) MetaDefault.NewEntity(owner); public static DB_EventScript NewEntity(DB_EventData owner, BGId entityId) => (DB_EventScript) MetaDefault.NewEntity(owner, entityId); public static DB_EventScript NewEntity(DB_EventData owner, Action callback) => (DB_EventScript) MetaDefault.NewEntity(owner, new BGMetaEntity.NewEntityContext(entity => callback((DB_EventScript)entity))); } #pragma warning restore 414