Use Sublime Text's "Convert all open views to tabs" option

This commit is contained in:
Lucas Nicodemus 2015-02-21 22:57:14 -07:00
parent 6a41c34380
commit b35a02d379
5 changed files with 302 additions and 302 deletions

View file

@ -18,26 +18,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace TShockAPI.Hooks
{
public class ReloadEventArgs
{
public TSPlayer Player { get; set; }
public ReloadEventArgs(TSPlayer ply)
{
Player = ply;
}
}
public class ReloadEventArgs
{
public TSPlayer Player { get; set; }
public ReloadEventArgs(TSPlayer ply)
{
Player = ply;
}
}
public class GeneralHooks
{
public delegate void ReloadEventD(ReloadEventArgs e);
public static event ReloadEventD ReloadEvent;
public class GeneralHooks
{
public delegate void ReloadEventD(ReloadEventArgs e);
public static event ReloadEventD ReloadEvent;
public static void OnReloadEvent(TSPlayer ply)
{
if(ReloadEvent == null)
return;
public static void OnReloadEvent(TSPlayer ply)
{
if(ReloadEvent == null)
return;
ReloadEvent(new ReloadEventArgs(ply));
}
}
ReloadEvent(new ReloadEventArgs(ply));
}
}
}