Add more XNA references
It LIVES!
This commit is contained in:
parent
82acf0cdfb
commit
4b06a8e767
2 changed files with 9 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ using Terraria;
|
||||||
|
|
||||||
using TShockAPI.Net;
|
using TShockAPI.Net;
|
||||||
|
|
||||||
|
using Microsoft.Xna.Framework.Graphics;
|
||||||
|
|
||||||
namespace TShockAPI
|
namespace TShockAPI
|
||||||
{
|
{
|
||||||
public class TSPlayer
|
public class TSPlayer
|
||||||
|
|
@ -287,6 +289,11 @@ namespace TShockAPI
|
||||||
SendMessage(msg, color.R, color.G, color.B);
|
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)
|
public virtual void SendMessage(string msg, byte red, byte green, byte blue)
|
||||||
{
|
{
|
||||||
SendData(PacketTypes.ChatText, msg, 255, red, green, blue);
|
SendData(PacketTypes.ChatText, msg, 255, red, green, blue);
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,9 @@
|
||||||
<Reference Include="HttpServer">
|
<Reference Include="HttpServer">
|
||||||
<HintPath>..\HttpBins\HttpServer.dll</HintPath>
|
<HintPath>..\HttpBins\HttpServer.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
|
||||||
<Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
|
<Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
|
||||||
|
<Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
|
||||||
<Reference Include="MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
<Reference Include="MySql.Data, Version=6.3.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\SqlBins\MySql.Data.dll</HintPath>
|
<HintPath>..\SqlBins\MySql.Data.dll</HintPath>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue