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