public override void OnResponse( NetState sender, RelayInfo info )
{
DecorateCommand command = DecorateCommand.None;
switch ( info.ButtonID )
{
case 1: command = DecorateCommand.Turn; break;
case 2: command = DecorateCommand.Up; break;
case 3: command = DecorateCommand.Down; break;
}
if ( command != DecorateCommand.None )
{
m_Decorator.Command = command;
sender.Mobile.SendGump( new InternalGump( m_Decorator ) );
sender.Mobile.Target = new InternalTarget( m_Decorator );
}
else
Target.Cancel( sender.Mobile );
}
}