Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
56
Scripts/Scripts-master/Games/Bomberman/Base/ContextMenus.cs
Normal file
56
Scripts/Scripts-master/Games/Bomberman/Base/ContextMenus.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Items;
|
||||
|
||||
namespace Solaris.BoardGames
|
||||
{
|
||||
|
||||
public class ViewBoardGameScoresEntry : ContextMenuEntry
|
||||
{
|
||||
Mobile _From;
|
||||
BoardGameControlItem _ControlItem;
|
||||
|
||||
//3006239 = "View events"
|
||||
public ViewBoardGameScoresEntry( Mobile from, BoardGameControlItem controlitem, int index ) : base( 6239, index )
|
||||
{
|
||||
_From = from;
|
||||
_ControlItem = controlitem;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
if ( _ControlItem == null || _ControlItem.Deleted )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_From.SendGump( new BoardGameScoresGump( _From, _ControlItem ) );
|
||||
}
|
||||
}
|
||||
|
||||
public class ResetBoardGameScoresEntry : ContextMenuEntry
|
||||
{
|
||||
Mobile _From;
|
||||
BoardGameControlItem _ControlItem;
|
||||
|
||||
//3006162 = "Reset Game"
|
||||
public ResetBoardGameScoresEntry( Mobile from, BoardGameControlItem controlitem, int index ) : base( 6162, index )
|
||||
{
|
||||
_From = from;
|
||||
_ControlItem = controlitem;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
if ( _ControlItem == null || _ControlItem.Deleted )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_From.SendGump( new ConfirmResetGameScoreGump( _From, _ControlItem ) );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user