Adds protected regions. Use /region help ingame for extra help

This commit is contained in:
Twitchy 2011-06-21 17:47:36 +12:00
parent 8257c1ad18
commit ad352492a9
5 changed files with 344 additions and 0 deletions

View file

@ -35,6 +35,7 @@ namespace TShockAPI
public bool ReceivedInfo { get; set; }
public int Index { get; protected set; }
public DateTime LastPvpChange { get; protected set; }
public Rectangle TempArea = new Rectangle();
public bool RealPlayer
{
get { return Index >= 0 && Index < Main.maxNetPlayers; }