Add namespace declarations to PlayerData.cs and TSServerPlayer.cs

This commit is contained in:
Enerdy 2016-01-18 15:30:07 +00:00
parent 069fd0cf9c
commit b0e13454d5
2 changed files with 501 additions and 495 deletions

View file

@ -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);
}
}
}

View file

@ -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
}
}
}
}