MUDServer.Player.OnLocationChange C# (CSharp) 메소드

OnLocationChange() 보호된 메소드

protected OnLocationChange ( Location oldLocation, Location newLocation ) : void
oldLocation Location
newLocation Location
리턴 void
        protected override void OnLocationChange(Location oldLocation, Location newLocation)
        {
            // If there is no name, we won't have our player data instantiated.
            if (_Name == null)
                return;

            RemoveExitCommands(oldLocation);
            AddExitCommands(newLocation);
        }