Add an optional parameters to SendMessage(), add more XML comments to TSPlayer

This commit is contained in:
ProfessorXZ 2016-07-29 14:11:19 +02:00
parent a02bc1012d
commit d0d0fae5ca
2 changed files with 202 additions and 9 deletions

View file

@ -50,7 +50,7 @@ namespace TShockAPI
SendMessage(msg, color.R, color.G, color.B);
}
public override void SendMessage(string msg, byte red, byte green, byte blue)
public override void SendMessage(string msg, byte red, byte green, byte blue, int messageLength = -1)
{
Console.WriteLine(msg);
}