Added new REST function - /users/activelist - Gets the list of active, logged in user accounts, not player/character names.

This commit is contained in:
Lucas Nicodemus 2011-12-30 19:29:58 -07:00
parent 6437d2a977
commit 4d5a0ed728
2 changed files with 28 additions and 10 deletions

View file

@ -53,13 +53,13 @@ namespace TShockAPI
#region Events
public class TileEditEventArgs : HandledEventArgs
{
public float X { get; set; }
public float Y { get; set; }
public float Type { get; set; }
public float EditType { get; set; }
public int X { get; set; }
public int Y { get; set; }
public int Type { get; set; }
public byte EditType { get; set; }
}
public static HandlerList<TileEditEventArgs> TileEdit = new HandlerList<TileEditEventArgs>();
public static bool OnTileEdit(float x, float y, float type, float editType)
public static bool OnTileEdit(int x, int y, int type, byte editType)
{
var args = new TileEditEventArgs
{