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