Use Sublime Text's "Convert all open views to tabs" option
This commit is contained in:
parent
6a41c34380
commit
b35a02d379
5 changed files with 302 additions and 302 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue