/
map.go
50 lines (40 loc) · 941 Bytes
/
map.go
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
package structs
// struct PROTO_NC_MAP_LOGIN_REQ
type NcMapLoginReq struct {
CharData NcZoneCharDataReq
CheckSum [54]Name8
}
// struct PROTO_NC_CHAR_ZONE_CHARDATA_REQ
type NcZoneCharDataReq struct {
WorldManager uint16
CharID Name5
}
// struct PROTO_NC_MAP_LOGINCOMPLETE_CMD
type NcMapLoginCompleteCmd struct { // Dummy byte
}
// struct PROTO_NC_MAP_LOGOUT_CMD
type MapLogoutCmd struct {
Handle uint16
}
// struct PROTO_NC_MAP_FIELD_ATTRIBUTE_CMD
type NcMapFieldAttributeCmd struct {
FieldMapType uint32
}
// struct PROTO_NC_MAP_CAN_USE_REVIVEITEM_CMD
type NcMapCanUseReviveItemCmd struct {
CanUse byte
}
// struct PROTO_NC_MAP_TOWNPORTAL_REQ
type NcMapTownPortalReq struct {
PortalIndex byte
}
// struct PROTO_NC_MAP_TOWNPORTAL_ACK
type NcMapTownPortalAck struct {
Err uint16
}
// NC_MAP_LOGIN_ACK
type NcMapLoginAck NcCharMapLoginAck
// struct PROTO_NC_MAP_LOGOUT_CMD
type NcMapLogoutCmd struct {
Handle uint16
}