Aura.Channel.World.Dungeons.Props.Door.Lock C# (CSharp) Méthode

Lock() public méthode

Locks the door.
public Lock ( bool isSwitchDoor = false ) : void
isSwitchDoor bool
Résultat void
		public void Lock(bool isSwitchDoor = false)
		{
			_isSwitchDoor = isSwitchDoor;
			this.IsLocked = true;
			this.SetState("closed");
		}