forked from rwmt/MultiplayerAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSyncContext.cs
More file actions
23 lines (21 loc) · 745 Bytes
/
Copy pathSyncContext.cs
File metadata and controls
23 lines (21 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
namespace Multiplayer.API;
/// <summary>
/// Context flags which are sent along with a command
/// </summary>
[Flags]
public enum SyncContext
{
/// <summary>Default value. (no context)</summary>
None = 0,
/// <summary>Send mouse cell context (emulates mouse position)</summary>
MapMouseCell = 1,
/// <summary>Send map selected context (object selected on the map)</summary>
MapSelected = 2,
/// <summary>Send world selected context (object selected on the world map)</summary>
WorldSelected = 4,
/// <summary>Send order queue context (emulates pressing KeyBindingDefOf.QueueOrder)</summary>
QueueOrder_Down = 8,
/// <summary>Send current map context</summary>
CurrentMap = 16,
}