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:
parent
803aa643c2
commit
406abce30c
6 changed files with 156 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue