Server.Regions.GuardedRegion.Disable C# (CSharp) Méthode

Disable() public static méthode

public static Disable ( GuardedRegion reg ) : GuardedRegion
reg GuardedRegion
Résultat GuardedRegion
		public static GuardedRegion Disable( GuardedRegion reg )
		{
			reg.Disabled = true;
			return reg;
		}

Usage Example

Exemple #1
0
 public static new void Initialize()
 {
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Mistas")));
     Region.AddRegion(new IlshenarCity("Gargoyle City"));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Montor")));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Alexandretta's Bowl")));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Lenmir Anfinmotas")));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Reg Volon")));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Bet-Lem Reg")));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Lake Shire")));
     Region.AddRegion(GuardedRegion.Disable(new IlshenarCity("Ancient Citadel")));
 }
All Usage Examples Of Server.Regions.GuardedRegion::Disable