mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
[server] Send client colours in state updates
This commit is contained in:
parent
08ee44a5c4
commit
cfdb1c8309
2 changed files with 6 additions and 0 deletions
|
@ -161,6 +161,7 @@ namespace Nibriboard.Client
|
|||
ClientState result = new ClientState();
|
||||
result.Id = Id;
|
||||
result.Name = Name;
|
||||
result.Colour = Colour;
|
||||
result.AbsCursorPosition = AbsoluteCursorPosition;
|
||||
result.Viewport = CurrentViewPort;
|
||||
|
||||
|
|
|
@ -24,6 +24,11 @@ namespace RippleSpace
|
|||
/// </summary>
|
||||
public string Name;
|
||||
|
||||
/// <summary>
|
||||
/// The colour associated with the client.
|
||||
/// </summary>
|
||||
public ColourHSL Colour;
|
||||
|
||||
/// <summary>
|
||||
/// The size and position of the client's viewport.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue