[server] Send client colours in state updates
This commit is contained in:
parent
08ee44a5c4
commit
cfdb1c8309
|
@ -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 New Issue