Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View 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 ) );
}
}
}