2017-01-27 21:25:49 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2017-02-04 21:26:48 +00:00
|
|
|
|
using Newtonsoft.Json;
|
2017-02-05 14:46:40 +00:00
|
|
|
|
|
|
|
|
|
using SBRL.Utilities;
|
2017-02-04 21:26:48 +00:00
|
|
|
|
|
2017-01-27 21:25:49 +00:00
|
|
|
|
namespace Nibriboard.Client.Messages
|
|
|
|
|
{
|
|
|
|
|
public class HandshakeRequestMessage : Message
|
|
|
|
|
{
|
2017-04-28 17:14:14 +00:00
|
|
|
|
/// <summary>
|
2017-01-27 21:25:49 +00:00
|
|
|
|
/// 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>
|
2017-02-05 14:46:40 +00:00
|
|
|
|
public Rectangle InitialViewport = Rectangle.Zero;
|
|
|
|
|
|
2017-01-28 18:41:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The initial position of the user's cursor.
|
|
|
|
|
/// </summary>
|
2017-02-05 14:46:40 +00:00
|
|
|
|
public Vector2 InitialAbsCursorPosition = Vector2.Zero;
|
2017-01-27 21:25:49 +00:00
|
|
|
|
|
|
|
|
|
public HandshakeRequestMessage()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|