コード例 #1
0
ファイル: TeleportNetwork.cs プロジェクト: ray2006/WCell
		private static void InitDefaultLocations()
		{
			var defNetwork = new TeleportNetwork();
			Locations["Teldrasil"] = defNetwork.AddNode(new TeleportNode("Teldrasil", MapId.Kalimdor, new Vector3(8566.646f, 1018.332f, 5.861027f)));
			Locations["Auberdin"] = defNetwork.AddNode(new TeleportNode("Auberdin", MapId.Kalimdor, new Vector3(6501.98f, 797.5204f, 7.845122f)));
			Locations["Theramore Isle"] = defNetwork.AddNode(new TeleportNode("Theramore Isle", MapId.Kalimdor, new Vector3(-4009.453f, -4572.461f, 9.4463f)));
			Locations["Mentil Harbor"] = defNetwork.AddNode(new TeleportNode("Mentil Harbor", MapId.EasternKingdoms, new Vector3(-3911.227f, -627.2722f, 4.742308f)));
			Locations["Exodar"] = defNetwork.AddNode(new TeleportNode("Exodar", MapId.Outland, new Vector3(-4268.54f, -11334.3f, 5.654589f)));
		}
コード例 #2
0
        private static void InitDefaultLocations()
        {
            var defNetwork = new TeleportNetwork();

            Locations["Teldrasil"]      = defNetwork.AddNode(new TeleportNode("Teldrasil", MapId.Kalimdor, new Vector3(8566.646f, 1018.332f, 5.861027f)));
            Locations["Auberdin"]       = defNetwork.AddNode(new TeleportNode("Auberdin", MapId.Kalimdor, new Vector3(6501.98f, 797.5204f, 7.845122f)));
            Locations["Theramore Isle"] = defNetwork.AddNode(new TeleportNode("Theramore Isle", MapId.Kalimdor, new Vector3(-4009.453f, -4572.461f, 9.4463f)));
            Locations["Mentil Harbor"]  = defNetwork.AddNode(new TeleportNode("Mentil Harbor", MapId.EasternKingdoms, new Vector3(-3911.227f, -627.2722f, 4.742308f)));
            Locations["Exodar"]         = defNetwork.AddNode(new TeleportNode("Exodar", MapId.Outland, new Vector3(-4268.54f, -11334.3f, 5.654589f)));
        }