/// <summary> /// 植木鉢にポイントを加算 /// </summary> /// <param name="treeKey"></param> /// <returns></returns> public static bool GrowTree(string treeKey) { var arg = new STreeKeyOnly() { TreeKey = treeKey }; return(ServerDataManager.Put(arg, paths[KnownPaths.Tree])); }
public static Success <SDecorationData[]> GetDecoration(string treeKey) { var arg = new STreeKeyOnly() { TreeKey = treeKey }; return(ServerDataManager.Get <SDecorationData[], STreeKeyOnly>(arg, paths[KnownPaths.TreeDecoration])); }
/// <summary> /// 植木鉢セッションを終了 /// </summary> /// <param name="treeKey"></param> /// <returns></returns> public static bool StopTreePotSession(string treeKey) { var arg = new STreeKeyOnly() { TreeKey = treeKey }; return(ServerDataManager.Delete(arg, paths[KnownPaths.TreePot])); }