Exemple #1
0
        /// <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]));
        }
Exemple #2
0
        public static Success <SDecorationData[]> GetDecoration(string treeKey)
        {
            var arg = new STreeKeyOnly()
            {
                TreeKey = treeKey
            };

            return(ServerDataManager.Get <SDecorationData[], STreeKeyOnly>(arg, paths[KnownPaths.TreeDecoration]));
        }
Exemple #3
0
        /// <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]));
        }