1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[server] DrawnLine.LineWidth -> Width, and extra logging

This commit is contained in:
Starbeamrainbowlabs 2017-04-28 18:14:14 +01:00
parent d44012044b
commit 4efeff5a06
3 changed files with 5 additions and 3 deletions

View file

@ -8,7 +8,7 @@ namespace Nibriboard.Client.Messages
{
public class HandshakeRequestMessage : Message
{
/// <summary>
/// <summary>
/// The initial visible area on the client's screen.
/// Very useful for determining which chunks we should send a client when they first connect.
/// </summary>

View file

@ -387,7 +387,7 @@ namespace Nibriboard.Client
return;
}
DrawnLine line = manager.LineIncubator.CompleteLine(message.LineId);
line.LineWidth = message.LineWidth;
line.Width = message.LineWidth;
line.Colour = message.LineColour;
if(CurrentPlane == null)
@ -399,6 +399,8 @@ namespace Nibriboard.Client
});
return;
}
Log.WriteLine("[NibriClient#{0}] Adding {1}px {2} line", Id, line.Width, line.Colour);
await CurrentPlane.AddLine(line);
}

View file

@ -19,7 +19,7 @@ namespace Nibriboard.RippleSpace
/// <summary>
/// The width of the line.
/// </summary>
public int LineWidth;
public int Width;
/// <summary>
/// The colour of the line.
/// </summary>