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

[server] Add LinePart event message class

This commit is contained in:
Starbeamrainbowlabs 2017-03-29 21:21:11 +01:00
parent 7d4c521877
commit a8c1b8e99c
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using SBRL.Utilities;
namespace Nibriboard.Client.Messages
{
/// <summary>
/// Senyt by a client who's in the middle of drawing a line.
/// Contains a collection of points that should be added to the line they're drawing.
/// </summary>
public class LinePartMessage : Message
{
/// <summary>
/// The id of the line to add the points to.
/// </summary>
public Guid LineId;
/// <summary>
/// The points to add to the line
/// </summary>
public List<Vector2> Points;
public LinePartMessage()
{
}
}
}

View file

@ -95,6 +95,7 @@
<Compile Include="Utilities\ChunkTools.cs" />
<Compile Include="Client\Messages\ChunkUpdateRequestMessage.cs" />
<Compile Include="Client\ChunkCache.cs" />
<Compile Include="Client\Messages\LinePartMessage.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ClientFiles\index.html" />