- 引入 UnityGameFramework
- 使用 Luban 替代原来的 UGF 的数据表
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGlobalConfig TbGlobalConfig {get; }
|
||||
/// <summary>
|
||||
/// 稀有度搜索时间
|
||||
/// </summary>
|
||||
public TbRarityConfig TbRarityConfig {get; }
|
||||
/// <summary>
|
||||
/// 难度与怪物池
|
||||
/// </summary>
|
||||
public TbDifficultyConfig TbDifficultyConfig {get; }
|
||||
/// <summary>
|
||||
/// 玩家角色
|
||||
/// </summary>
|
||||
public TbCharacterConfig TbCharacterConfig {get; }
|
||||
/// <summary>
|
||||
/// 普通攻击、技能和敌人行动
|
||||
/// </summary>
|
||||
public TbBattleActionConfig TbBattleActionConfig {get; }
|
||||
/// <summary>
|
||||
/// 警惕与视野参数
|
||||
/// </summary>
|
||||
public TbThreatLevelConfig TbThreatLevelConfig {get; }
|
||||
/// <summary>
|
||||
/// 敌人属性与行为
|
||||
/// </summary>
|
||||
public TbEnemyConfig TbEnemyConfig {get; }
|
||||
/// <summary>
|
||||
/// 地图敌人对应的战斗队伍
|
||||
/// </summary>
|
||||
public TbEnemyPartyConfig TbEnemyPartyConfig {get; }
|
||||
/// <summary>
|
||||
/// 战利品、装备与消耗品
|
||||
/// </summary>
|
||||
public TbItemConfig TbItemConfig {get; }
|
||||
/// <summary>
|
||||
/// 五种物资点刷新规则
|
||||
/// </summary>
|
||||
public TbResourcePointConfig TbResourcePointConfig {get; }
|
||||
/// <summary>
|
||||
/// 敌人独立掉落表
|
||||
/// </summary>
|
||||
public TbEnemyDropConfig TbEnemyDropConfig {get; }
|
||||
/// <summary>
|
||||
/// 实体配置
|
||||
/// </summary>
|
||||
public TbEntityConfig TbEntityConfig {get; }
|
||||
/// <summary>
|
||||
/// 音乐配置
|
||||
/// </summary>
|
||||
public TbMusicConfig TbMusicConfig {get; }
|
||||
/// <summary>
|
||||
/// 场景配置
|
||||
/// </summary>
|
||||
public TbSceneConfig TbSceneConfig {get; }
|
||||
/// <summary>
|
||||
/// 声音配置
|
||||
/// </summary>
|
||||
public TbSoundConfig TbSoundConfig {get; }
|
||||
/// <summary>
|
||||
/// 界面配置
|
||||
/// </summary>
|
||||
public TbUIFormConfig TbUIFormConfig {get; }
|
||||
/// <summary>
|
||||
/// 界面音效配置
|
||||
/// </summary>
|
||||
public TbUISoundConfig TbUISoundConfig {get; }
|
||||
|
||||
public Tables(System.Func<string, ByteBuf> loader)
|
||||
{
|
||||
TbGlobalConfig = new TbGlobalConfig(loader("tbglobalconfig"));
|
||||
TbRarityConfig = new TbRarityConfig(loader("tbrarityconfig"));
|
||||
TbDifficultyConfig = new TbDifficultyConfig(loader("tbdifficultyconfig"));
|
||||
TbCharacterConfig = new TbCharacterConfig(loader("tbcharacterconfig"));
|
||||
TbBattleActionConfig = new TbBattleActionConfig(loader("tbbattleactionconfig"));
|
||||
TbThreatLevelConfig = new TbThreatLevelConfig(loader("tbthreatlevelconfig"));
|
||||
TbEnemyConfig = new TbEnemyConfig(loader("tbenemyconfig"));
|
||||
TbEnemyPartyConfig = new TbEnemyPartyConfig(loader("tbenemypartyconfig"));
|
||||
TbItemConfig = new TbItemConfig(loader("tbitemconfig"));
|
||||
TbResourcePointConfig = new TbResourcePointConfig(loader("tbresourcepointconfig"));
|
||||
TbEnemyDropConfig = new TbEnemyDropConfig(loader("tbenemydropconfig"));
|
||||
TbEntityConfig = new TbEntityConfig(loader("tbentityconfig"));
|
||||
TbMusicConfig = new TbMusicConfig(loader("tbmusicconfig"));
|
||||
TbSceneConfig = new TbSceneConfig(loader("tbsceneconfig"));
|
||||
TbSoundConfig = new TbSoundConfig(loader("tbsoundconfig"));
|
||||
TbUIFormConfig = new TbUIFormConfig(loader("tbuiformconfig"));
|
||||
TbUISoundConfig = new TbUISoundConfig(loader("tbuisoundconfig"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
private void ResolveRef()
|
||||
{
|
||||
TbGlobalConfig.ResolveRef(this);
|
||||
TbRarityConfig.ResolveRef(this);
|
||||
TbDifficultyConfig.ResolveRef(this);
|
||||
TbCharacterConfig.ResolveRef(this);
|
||||
TbBattleActionConfig.ResolveRef(this);
|
||||
TbThreatLevelConfig.ResolveRef(this);
|
||||
TbEnemyConfig.ResolveRef(this);
|
||||
TbEnemyPartyConfig.ResolveRef(this);
|
||||
TbItemConfig.ResolveRef(this);
|
||||
TbResourcePointConfig.ResolveRef(this);
|
||||
TbEnemyDropConfig.ResolveRef(this);
|
||||
TbEntityConfig.ResolveRef(this);
|
||||
TbMusicConfig.ResolveRef(this);
|
||||
TbSceneConfig.ResolveRef(this);
|
||||
TbSoundConfig.ResolveRef(this);
|
||||
TbUIFormConfig.ResolveRef(this);
|
||||
TbUISoundConfig.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user