コード例 #1
0
 public static string GetItemPicTmpPath(int type, JObject elementData)
 {
     return(BstManager.PathVsRoot + BstManager.PathVsTmp +
            BstManager.GetTypeName(type) + "/" +
            (string)elementData["core"] + "_" + (string)elementData["col"] + ".png");
 }
コード例 #2
0
 public static string GetItemOriginJsonPath(int type)
 {
     return(BstManager.PathRoot + BstManager.PathDatabase + BstManager.GetTypeName(type) + "/data/origin.json");
 }
コード例 #3
0
 public static string GetItemPicUrl(int type, JObject elementData)
 {
     return(BstManager.GithubRoot + BstManager.GithubBranch + "/" +
            BstManager.PathDatabase + BstManager.GetTypeName(type) + "/pics-cps/" +
            (string)elementData["core"] + "_" + (string)elementData["col"] + ".png");
 }