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

            return(ServerDataManager.Get <SDecorationData[], STreeKeyOnly>(arg, paths[KnownPaths.TreeDecoration]));
        }
Esempio n. 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]));
        }