-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathNSCommand.cs
29 lines (27 loc) · 1.5 KB
/
NSCommand.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
using System;
namespace OpenSMO
{
// For more information, please see the following article:
// https://github.com/freem/SMOnline-v1/wiki/Protocol
public enum NSCommand
{ // Client -> Server Server -> Client
// // -----------------------------------------------
NSCPing = 0, // 0 --> Ping | ~
NSCPingR, // 1 --> Ping Response | ~
NSCHello, // 2 --> Handshake | ~
NSCGSR, // 3 --> Game start request | ~
NSCGON, // 4 --> Game over notice | ~
NSCGSU, // 5 --> Game status update | Scoreboard update
NSCSU, // 6 --> Style update | System message
NSCCM, // 7 --> Chat message | ~
NSCRSG, // 8 --> Request start game | Ask client for song or start song
NSCUUL, // 9 --> Reserved | Update user list
NSCSMS, // 10 --> Screen changed | Force ScreenNetSelectMusic
NSCUPOpts, // 11 --> Player options | Reserved
NSCSMOnline, // 12 --> SMOnline | ~
NSCFormatted, // 13 --> Reverved | Server information
NSCAttack, // 14 --> Reserved | Attack client
NSCLUA, // 15 --> ~ | a-smop4 Lua eval
NUM_NS_COMMANDS
}
}