-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMessages.cs
68 lines (56 loc) · 2.12 KB
/
Messages.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Phantom
{
public static class Messages
{
public const int Action = 1;
public const int GameExit = 5;
public const int GameSuspend = 6;
public const int GameResume = 7;
public const int MoverImpulse = 10;
public const int MoverForce = 11;
public const int InputKeyJustDown = 20;
public const int InputButtonJustDown = 21;
public const int InputMouseJustDown = 22;
public const int InputKeyJustUp = 23;
public const int InputButtonJustUp = 24;
public const int InputTouchJustDown = 25;
public const int InputTouchJustUp = 26;
public const int CameraMoveTo = 30;
public const int CameraJumpTo = 31;
public const int CameraFollowEntity = 32;
public const int CameraStopFollowing = 33;
public const int CameraShake = 34;
public const int CameraMoveBy = 35;
public const int CameraSetZoom = 36;
public const int RenderSetEffect = 40;
public const int FillColor = 41;
public const int StrokeColor = 42;
public const int SetPlayer = 50;
public const int SetPosition = 100;
public const int SetFrame = 101;
public const int PhysicsPause = 200;
public const int PhysicsResume = 201;
public const int MapLoaded = 210;
public const int MapReset = 211;
public const int UIActivated = 300;
//public const int UIElementClicked = 301;
//public const int UIElementValueChanged = 302;
//public const int ChangeStackSize = 303;
//public const int UIElementEnter = 304;
//public const int UISwipe = 305;
//public const int UIDrag = 306;
//public const int UIShowToolTip = 306;
public const int Select = 310;
public const int Deselect = 311;
public const int DoMouseCommand = 312;
public const int ToolSelected = 313;
public const int TweenIn = 350;
public const int TweenOut = 351;
public const int PropertiesChanged = 999;
public const int Unknown = -1;
}
}