TShock/TShockAPI/TSPlayer.cs
Shank 43b968e37f Added ban for placing impossible to place tiles and liquids.
Added ban for attempting to place non-existent liquids.
2011-06-06 16:38:41 -06:00

32 lines
No EOL
694 B
C#

using System.Collections.Generic;
using Terraria;
namespace TShockAPI
{
public class TSPlayer
{
public uint tileThreshold;
public Dictionary<TShock.Position, Tile> tilesDestroyed = new Dictionary<TShock.Position, Tile>();
public bool syncHP;
public bool syncMP;
public Group group;
public int lavaCount = 0;
public int waterCount = 0;
private int player;
public TSPlayer(int ply)
{
player = ply;
}
public Player GetPlayer()
{
return Main.player[player];
}
public int GetPlayerID()
{
return player;
}
}
}