迁移数据表到 Luban,移除 JsonNet、EnumUtility
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public partial class Tables
|
||||
{
|
||||
/// <summary>
|
||||
/// 敌人属性与行为
|
||||
/// </summary>
|
||||
public TbEnemyConfig TbEnemyConfig {get; }
|
||||
/// <summary>
|
||||
/// 实体配置
|
||||
/// </summary>
|
||||
public TbEntityConfig TbEntityConfig {get; }
|
||||
/// <summary>
|
||||
/// 全局零散配置(单例)
|
||||
/// </summary>
|
||||
public TbGlobalConfig TbGlobalConfig {get; }
|
||||
public TbGoodsConfig TbGoodsConfig {get; }
|
||||
public TbLevelConfig TbLevelConfig {get; }
|
||||
public TbLevelDropConfig TbLevelDropConfig {get; }
|
||||
public TbLevelExperienceConfig TbLevelExperienceConfig {get; }
|
||||
public TbLevelUpRewardConfig TbLevelUpRewardConfig {get; }
|
||||
/// <summary>
|
||||
/// 音乐配置
|
||||
/// </summary>
|
||||
public TbMusicConfig TbMusicConfig {get; }
|
||||
public TbPropConfig TbPropConfig {get; }
|
||||
public TbRoleConfig TbRoleConfig {get; }
|
||||
/// <summary>
|
||||
/// 场景配置
|
||||
/// </summary>
|
||||
public TbSceneConfig TbSceneConfig {get; }
|
||||
/// <summary>
|
||||
/// 声音配置
|
||||
/// </summary>
|
||||
public TbSoundConfig TbSoundConfig {get; }
|
||||
/// <summary>
|
||||
/// 图片资源配置
|
||||
/// </summary>
|
||||
public TbSpriteConfig TbSpriteConfig {get; }
|
||||
/// <summary>
|
||||
/// 界面配置
|
||||
/// </summary>
|
||||
public TbUIFormConfig TbUIFormConfig {get; }
|
||||
/// <summary>
|
||||
/// 界面音效配置
|
||||
/// </summary>
|
||||
public TbUISoundConfig TbUISoundConfig {get; }
|
||||
/// <summary>
|
||||
/// 界面配置
|
||||
/// </summary>
|
||||
public TbWeaponConfig TbWeaponConfig {get; }
|
||||
|
||||
public Tables(System.Func<string, ByteBuf> loader)
|
||||
{
|
||||
TbEnemyConfig = new TbEnemyConfig(loader("tbenemyconfig"));
|
||||
TbEntityConfig = new TbEntityConfig(loader("tbentityconfig"));
|
||||
TbGlobalConfig = new TbGlobalConfig(loader("tbglobalconfig"));
|
||||
TbGoodsConfig = new TbGoodsConfig(loader("tbgoodsconfig"));
|
||||
TbLevelConfig = new TbLevelConfig(loader("tblevelconfig"));
|
||||
TbLevelDropConfig = new TbLevelDropConfig(loader("tbleveldropconfig"));
|
||||
TbLevelExperienceConfig = new TbLevelExperienceConfig(loader("tblevelexperienceconfig"));
|
||||
TbLevelUpRewardConfig = new TbLevelUpRewardConfig(loader("tbleveluprewardconfig"));
|
||||
TbMusicConfig = new TbMusicConfig(loader("tbmusicconfig"));
|
||||
TbPropConfig = new TbPropConfig(loader("tbpropconfig"));
|
||||
TbRoleConfig = new TbRoleConfig(loader("tbroleconfig"));
|
||||
TbSceneConfig = new TbSceneConfig(loader("tbsceneconfig"));
|
||||
TbSoundConfig = new TbSoundConfig(loader("tbsoundconfig"));
|
||||
TbSpriteConfig = new TbSpriteConfig(loader("tbspriteconfig"));
|
||||
TbUIFormConfig = new TbUIFormConfig(loader("tbuiformconfig"));
|
||||
TbUISoundConfig = new TbUISoundConfig(loader("tbuisoundconfig"));
|
||||
TbWeaponConfig = new TbWeaponConfig(loader("tbweaponconfig"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
private void ResolveRef()
|
||||
{
|
||||
TbEnemyConfig.ResolveRef(this);
|
||||
TbEntityConfig.ResolveRef(this);
|
||||
TbGlobalConfig.ResolveRef(this);
|
||||
TbGoodsConfig.ResolveRef(this);
|
||||
TbLevelConfig.ResolveRef(this);
|
||||
TbLevelDropConfig.ResolveRef(this);
|
||||
TbLevelExperienceConfig.ResolveRef(this);
|
||||
TbLevelUpRewardConfig.ResolveRef(this);
|
||||
TbMusicConfig.ResolveRef(this);
|
||||
TbPropConfig.ResolveRef(this);
|
||||
TbRoleConfig.ResolveRef(this);
|
||||
TbSceneConfig.ResolveRef(this);
|
||||
TbSoundConfig.ResolveRef(this);
|
||||
TbSpriteConfig.ResolveRef(this);
|
||||
TbUIFormConfig.ResolveRef(this);
|
||||
TbUISoundConfig.ResolveRef(this);
|
||||
TbWeaponConfig.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user