www.pudn.com > Wcell.rar > AdjustMovementDelay.cs
/*************************************************************************
*
* file : AdjustMovementDelay.cs
* copyright : (C) The WCell Team
* email : info@wcell.org
* last changed : $LastChangedDate: 2008-03-10 08:52:03 +0800 (星期一, 10 三月 2008) $
* last author : $LastChangedBy: tobz $
* revision : $Rev: 190 $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
namespace WCell.RealmServerConsole.Commands
{
public class AdjustMovementDelay
{
///
/// Toggles all the regions on or off
///
/// the arguments of the command
[ConsoleCommand("adjmovementdelay")]
public static void Execute(string[] arguments)
{
if (arguments.Length != 1)
{
return;
}
uint movementDelay = UInt32.Parse(arguments[0]);
RealmServer.RealmClient.MOVEMENT_DELAY = movementDelay;
}
}
}