123456789101112131415161718192021222324252627 |
- using System.Collections.Generic;
- namespace ET.Server
- {
- public static class RealmGateAddressHelper
- {
- public static StartSceneConfig GetGame(int zone)
- {
- List<StartSceneConfig> zoneGates = StartSceneConfigCategory.Instance.Games[zone];
- int n = RandomGenerator.RandomNumber(0, zoneGates.Count);
- return zoneGates[n];
- }
-
-
-
-
-
- public static List<StartSceneConfig> GetAllGame(int zone)
- {
- return StartSceneConfigCategory.Instance.Games[zone];
- }
- }
- }
|