Exemplo n.º 1
0
 /// <summary>
 /// 获得实体配置路径
 /// </summary>
 /// <param name="filePath"></param>
 /// <returns></returns>
 public static string GetEntityPath(int entityId)
 {
     return(EntityRootPath + ConfigDef.GetCnfName("Entity_" + entityId));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 获得决策路径
 /// </summary>
 /// <param name="filePath"></param>
 /// <returns></returns>
 public static string GetDecTreePath(int treeId)
 {
     return(DecTreeRootPath + ConfigDef.GetCnfName("Decision_" + treeId));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 获得行为路径
 /// </summary>
 /// <param name="filePath"></param>
 /// <returns></returns>
 public static string GetBevTreePath(RequestId requestId)
 {
     return(BevTreeRootPath + ConfigDef.GetCnfName("Behavior_" + requestId.ToString()));
 }
Exemplo n.º 4
0
 public static string GetBulletCnfPath(string id)
 {
     return(SkillRootPath + ConfigDef.GetCnfName("Bullet_" + id));
 }
Exemplo n.º 5
0
 public static string GetAoeCnfPath(string id)
 {
     return(SkillRootPath + ConfigDef.GetCnfName("Aoe_" + id));
 }
Exemplo n.º 6
0
 public static string GetTimelineCnfPath(string id)
 {
     return(TimelineRootPath + ConfigDef.GetCnfName("Sk_Timeline_" + id));
 }
Exemplo n.º 7
0
 public static string GetDialogCnfPath(DialogType dialogType)
 {
     return(DialogRootPath + ConfigDef.GetCnfName($"{dialogType}Dialog"));
 }
Exemplo n.º 8
0
 public static string GetMapModelSavePath(string mapId)
 {
     return(setting.MapExportSavePath + ConfigDef.GetCnfName("Map_" + mapId));
 }