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