示例#1
0
        public static OceanHotspotLocationDetail GetHotspotLocationDetail(HotspotLocationType hotspotLocation)
        {
            OceanHotspotLocationDetail locationDetail = new OceanHotspotLocationDetail();

            switch (hotspotLocation)
            {
            case HotspotLocationType.BuccaneersDen:
                locationDetail.m_Name                  = "Buccaneer's Den";
                locationDetail.m_Description           = new string[] { "" };
                locationDetail.m_ControlObjectLocation = new Point3D(2000, 2000, 0);

                locationDetail.m_TopLeftAreaPoint = new Point3D(1500, 1500, 0);
                locationDetail.m_TopLeftAreaPoint = new Point3D(2500, 2500, 0);
                break;
            }

            return(locationDetail);
        }
示例#2
0
        public static InvasionHotspotLocationDetail GetHotspotLocationDetail(HotspotLocationType hotspotLocation)
        {
            InvasionHotspotLocationDetail locationDetail = new InvasionHotspotLocationDetail();

            switch (hotspotLocation)
            {
            case HotspotLocationType.YewOrcFort:
                locationDetail.m_Name                  = "Yew Orc Fort";
                locationDetail.m_Description           = new string[] { "" };
                locationDetail.m_ControlObjectLocation = new Point3D(2000, 2000, 0);

                locationDetail.m_TopLeftAreaPoint = new Point3D(1500, 1500, 0);
                locationDetail.m_TopLeftAreaPoint = new Point3D(2500, 2500, 0);
                break;
            }

            return(locationDetail);
        }
示例#3
0
        public static HotspotLocationType GetRandomLocation()
        {
            HotspotLocationType eventLocation = (HotspotLocationType)Utility.RandomMinMax(0, Enum.GetNames(typeof(HotspotLocationType)).Length - 1);

            return(eventLocation);
        }