Example #1
0
        public static Success <SHotSpotData[]> GetHotSpots(double locationX, double locationY, double distance)
        {
            var arg = new SLocationAndDistance()
            {
                distance  = distance,
                locationX = locationX,
                locationY = locationY,
            };

            return(ServerDataManager.Get <SHotSpotData[], SLocationAndDistance>(arg, paths[KnownPaths.HotSpot]));
        }
Example #2
0
        public static Success <SFlyerData[]> GetFlyeies(double locationX, double locationY, double distance)
        {
            var arg = new SLocationAndDistance()
            {
                locationX = locationX,
                locationY = locationY,
                distance  = distance
            };

            return(ServerDataManager.Get <SFlyerData[], SLocationAndDistance>(arg, paths[KnownPaths.Flyer]));
        }
Example #3
0
        /// <summary>
        /// 現在位置から、一定距離内のTreePotのリストを取得
        /// </summary>
        /// <param name="locationX"></param>
        /// <param name="locationY"></param>
        /// <param name="distance"></param>
        /// <returns></returns>
        public async static Task <Success <STreePot[]> > GetTreePots(double locationX, double locationY, double distance)
        {
            var arg = new SLocationAndDistance()
            {
                locationX = locationX,
                locationY = locationX,
                distance  = distance
            };

            return(ServerDataManager.Get <STreePot[], SLocationAndDistance>(arg, paths[KnownPaths.TreePot_View]));
        }