wip: created models dir, made some adjustments
wip, healing via item is not working the way it's supposed to
This commit is contained in:
17
Models/ServerPlayer.cs
Normal file
17
Models/ServerPlayer.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Terraria.ID;
|
||||
using TShockAPI;
|
||||
|
||||
namespace TerrariaHealingPlugin.Models
|
||||
{
|
||||
public class ServerPlayer
|
||||
{
|
||||
public TSPlayer player { get; set; }
|
||||
public int healAmount { get; set; } = 0;
|
||||
public int healItem { get; set; } = ItemID.None;
|
||||
|
||||
public ServerPlayer(TSPlayer player)
|
||||
{
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user