Add hooks for Region creation/deletion. Add hooks for Region Enter/Leave. Add member to TSPlayer displaying current region. Set private setters in AccountHooks.

This commit is contained in:
Zack Piispanen 2015-03-01 22:27:49 -05:00
parent 803aa643c2
commit 406abce30c
6 changed files with 156 additions and 4 deletions

View file

@ -303,6 +303,11 @@ namespace TShockAPI
/// The last projectile type this player tried to kill.
/// </summary>
public int LastKilledProjectile = 0;
/// <summary>
/// The current region this player is in, or null if none.
/// </summary>
public Region CurrentRegion = null;
/// <summary>
/// Whether the player is a real, human, player on the server.