Add namespace declarations to PlayerData.cs and TSServerPlayer.cs
This commit is contained in:
parent
069fd0cf9c
commit
b0e13454d5
2 changed files with 501 additions and 495 deletions
|
|
@ -1,6 +1,8 @@
|
|||
using Terraria;
|
||||
using TShockAPI;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
public class PlayerData
|
||||
{
|
||||
public NetItem[] inventory = new NetItem[NetItem.MaxInventory];
|
||||
|
|
@ -409,3 +411,4 @@ public class PlayerData
|
|||
NetMessage.SendData(39, player.Index, -1, "", 400);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4,6 +4,8 @@ using Terraria;
|
|||
using TShockAPI;
|
||||
using TShockAPI.DB;
|
||||
|
||||
namespace TShockAPI
|
||||
{
|
||||
public class TSServerPlayer : TSPlayer
|
||||
{
|
||||
public static string AccountName = "ServerConsole";
|
||||
|
|
@ -158,3 +160,4 @@ public class TSServerPlayer : TSPlayer
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue