Edit on GitHub
GameService Server User Information Course Records
Summary
This packet contains the user's all-time course records as shown in the User Info screen.
This is one of the responses to GameService Client 0x002F User Information Request.
Structure
Subtypes
Name | Type | Summary |
padding_a | bytes | All 0x00. |
Name | Type | Summary |
course_record_a_count | u4 | |
course_a_records | course_record
| These are the ones displayed in user info. |
course_record_b_count | u4 | |
course_b_records | course_record
| These are of unknown use. |
Name | Type | Summary |
course_id | u1 | |
unknown_a | u4 | |
unknown_b | u4 | |
unknown_c | u4 | |
unknown_d | u4 | |
unknown_e | u4 | |
unknown_f | u4 | |
unknown_g | s4 | |
course_score | s1 | Record final score. |
course_pang | u4 | Record final pang amount. |
unknown_j | u4 | All 0x00. |
character_id | u4 | From pangya_xx.iff/Character.iff. Record set with this character. |
unknown_k | s1 | All 0xFA. |
Enums
Definition
meta:
id: gameservice_server_015c_user_information_course_records
title: GameService Server User Information Course Records
encoding: ASCII
endian: le
imports:
- ../../common/pstring
seq:
- id: request_type
type: u1
enum: request_types
- id: user_id
type: u4
- id: payload
type:
switch-on: request_type
cases:
request_types::blank_original: user_course_records_blank
request_types::mode_original: user_course_records_full
request_types::blank_natural: user_course_records_blank
request_types::blank_grand_prix: user_course_records_blank
request_types::mode_natural: user_course_records_full
request_types::mode_grand_prix: user_course_records_full
types:
user_course_records_blank:
seq:
- id: padding_a
size: 8
user_course_records_full:
seq:
- id: course_record_a_count
type: u4
- id: course_a_records
type: course_record
repeat: expr
repeat-expr: course_record_a_count
- id: course_record_b_count
type: u4
- id: course_b_records
type: course_record
repeat: expr
repeat-expr: course_record_b_count
course_record:
seq:
- id: course_id
type: u1
enum: course_ids
- id: unknown_a
type: u4
- id: unknown_b
type: u4
- id: unknown_c
type: u4
- id: unknown_d
type: u4
- id: unknown_e
type: u4
- id: unknown_f
type: u4
- id: unknown_g
type: s4
- id: course_score
type: s1
- id: course_pang
type: u4
- id: unknown_j
type: u4
- id: character_id
type: u4
- id: unknown_k
type: s1
enums:
request_types:
0: blank_original
5: mode_original
10: blank_natural
11: blank_grand_prix
51: mode_natural
52: mode_grand_prix
course_ids:
0: blue_lagoon
1: blue_water
2: sepia_wind
3: wind_hill
4: wiz_wiz
5: west_wiz
6: blue_moon
7: silvia_cannon
8: ice_cannon
9: white_wiz
10: shining_sand
11: pink_wind
13: deep_inferno
14: ice_spa
15: lost_seaway
16: eastern_valley
18: ice_inferno
19: wiz_city
20: abbot_mine
Examples
No examples available. Contribute one?