TShock/TShockAPI/TSPlayer.cs
high 9dee779a27 Fixed exploit allowing client to send client info packet more than once.
Fixed exploit allowing client to send tile square.
2011-06-06 21:00:32 -04:00

31 lines
No EOL
689 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 bool receivedInfo;
private int player;
public TSPlayer(int ply)
{
player = ply;
}
public Player GetPlayer()
{
return Main.player[player];
}
public int GetPlayerID()
{
return player;
}
}
}