-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.json
123 lines (104 loc) · 4.34 KB
/
common.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"messagesCodes": {
"LoginReq": 10,
"comment_LoginReq": "Login - get id and names",
"LoginSuccess": 11,
"comment_LoginSuccess": "return Login data - data",
"LoginFail": 12,
"comment_LoginFail": "failed login - name",
"NewPlayer": 20,
"comment_NewPlayer": "Create New Player - get id and names)",
"NewPlayerSuccess": 21,
"comment_NewPlayerSuccess": "Successfully Created Player",
"NewPlayerFail": 22,
"comment_NewPlayerFail": "user name already exists",
"ChangeNameRQ": 30,
"comment_ChangeNameRQ": "change display name",
"ChangeNameRQSuccess": 31,
"comment_ChangeNameRQSuccess": "change display name successful",
"ChangeNameRQFail": 32,
"comment_ChangeNameRQFail": "change display name failed",
"GetOtherPlayers": 50,
"comment_GetOtherPlayers": "get other players",
"GetGameList": 100,
"comment_GetGameList": "get games list - id, type, players)",
"GetGameListSuccess": 101,
"comment_GetGameListSuccess": "return players games",
"GetGameListFail": 102,
"comment_GetGameListFail": "not a player",
"GetGameData": 120,
"comment_GetGameData": "Get Game Data",
"GetGameDataSuccess": 121,
"comment_GetGameDataSuccess": "return game Data",
"GetGameDataFail": 122,
"comment_GetGameDataFail": "no game data to get",
"CreateNewGame": 150,
"comment_CreateNewGame": "create new game - id, type, players)",
"CreateNewGameSuccess": 151,
"comment_CreateNewGameSuccess": "create new game success",
"CreateNewGameFail": 152,
"comment_CreateNewGameFail": "create new game fail",
"GetGameTypes": 160,
"comment_GetGameTypes": "get game types",
"GetGameTypesSuccess": 161,
"comment_GetGameTypesSuccess": "get game types success",
"GetGameTypesFail": 162,
"comment_GetGameTypesFail": "get game types fail",
"GetAllOtherPlayers": 170,
"comment_GetAllOtherPlayers": "get players",
"GetAllOtherPlayersSuccess": 171,
"comment_GetAllOtherPlayersSuccess": "get players success",
"GetAllOtherPlayersFail": 172,
"comment_GetAllOtherPlayersFail": "get players fail",
"GetDeckChooser": 180,
"comment_GetDeckChooser": "let player choose deck",
"GetDeckChooserSuccess": 181,
"comment_GetDeckChooserSuccess": "players choose deck success",
"GetDeckChooserFail": 182,
"comment_GetDeckChooserFail": "players choose deck fail",
"GetGameZone": 200,
"comment_GetGameZone": "get game zones - cards with visiblity considered)",
"GetGameZoneAllData": 210,
"comment_GetGameZoneAllData": "get zone contents - cards without visibility considerations)",
"GetGameZoneAllDataSuccess": 211,
"comment_GetGameZoneAllDataSuccess": "Return success for 210",
"GetGameZoneAllDataFail": 212,
"comment_GetGameZoneAllDataFail": "return fail for 210",
"ZoneUpdateNot": 300,
"comment_ZoneUpdateNot": "Zone updated Notification",
"MessageNot": 310,
"comment_MessageNot": "new message Notification",
"RequestMessages": 400,
"comment_RequestMessages": "new message Notification",
"RequestMessagesSuccess": 401,
"comment_RequestMessagesSuccess": "new message Notification",
"RequestMessagesFail": 402,
"comment_RequestMessagesFail": "new message Notification",
"MarkReadRequest": 410,
"comment_MarkReadRequest": "new message Notification",
"MarkReadRequestSuccess": 411,
"comment_MarkReadRequestSuccess": "new message Notification",
"MarkReadRequestFail": 412,
"comment_MarkReadRequestFail": "new message Notification",
"deleteNotificationRequest": 420,
"comment_deleteNotificationRequest": "new message Notification",
"deleteNotificationRequestSuccess": 421,
"comment_deleteNotificationRequestSuccess": "new message Notification",
"deleteNotificationRequestFail": 422,
"comment_deleteNotificationRequestFail": "new message Notification",
"GameBoardDataRequest": 900,
"comment_GameBoardDataRequest": "new message Notification",
"GameBoardDataRequestSuccess": 901,
"comment_GameBoardDataRequestSuccess": "new message Notification",
"GameBoardDataRequestFail": 902,
"comment_GameBoardDataRequestFail": "new message Notification",
"ErrorInCardOperation": 999,
"comment_ErrorInCardOperation": "failed card op",
"SuffleZoneRQ": 1000,
"comment_SuffleZoneRQ": "Suffle Zone {zone number}",
"MoveCardRQ": 1010,
"comment_MoveCardRQ": "move card in position to front of zone {zone from, position, zone to}",
"DealCardsRQ": 1020,
"comment_DealCardsRQ": "deal x cards from one zone to specified zones"
}
}