예제 #1
0
 public static string RegionToName(InstanceRegion region)
 {
     return(region switch
     {
         InstanceRegion.US => "USA",
         InstanceRegion.EU => "Europe",
         InstanceRegion.JP => "Japan",
         _ => throw new ArgumentOutOfRangeException(nameof(region), region, null)
     });
예제 #2
0
 public DungeonZone(string name, InstanceMap map, InstanceRegion parent, params Rectangle3D[] area)
     : base(name, map, parent, area)
 {
 }