Add more XNA references

It LIVES!
This commit is contained in:
Deathmax 2011-12-02 12:00:55 +08:00
parent 82acf0cdfb
commit 4b06a8e767
2 changed files with 9 additions and 0 deletions

View file

@ -24,6 +24,8 @@ using Terraria;
using TShockAPI.Net;
using Microsoft.Xna.Framework.Graphics;
namespace TShockAPI
{
public class TSPlayer
@ -287,6 +289,11 @@ namespace TShockAPI
SendMessage(msg, color.R, color.G, color.B);
}
public virtual void SendMessage(string msg, Microsoft.Xna.Framework.Color color)
{
SendMessage(msg, color.R, color.G, color.B);
}
public virtual void SendMessage(string msg, byte red, byte green, byte blue)
{
SendData(PacketTypes.ChatText, msg, 255, red, green, blue);