Edit on GitHub
This packet contains statistics for the current user, which are relayed before and after every match.
This is a response to:
Name | Type | Summary |
---|---|---|
user_statistics | user_statistic_data
| More details can be found in type definition file. |
course_stat_slots | course_stat_slot
| 12 extra data slots. Typically used in response to GSC-0006 only. |
Name | Type | Summary |
---|---|---|
course_id_a | s1 | From pangya_xx.iff/Course.iff. Course for match just played. 0xFF (-1) if empty/unused. |
course_stat_data | course_stat_data
|
Name | Type | Summary |
---|---|---|
course_id_b | s1 | Repetition of course_id |
course_stat_total_strokes | u4 | User's total strokes on this course, across all matches. |
course_stat_total_putts | u4 | User's total putts on this course, across all matches. |
match_stat_holes | u4 | The number of holes played this match. |
unknown_gss0045_d | u4 | |
unknown_gss0045_e | u4 | |
unknown_gss0045_f | u4 | |
match_stat_total_score | s4 | User's total score in this match. |
course_stat_best_score | s1 | User's best score on this course for a 18-hole match. 0x7F (127) if not set. |
course_stat_best_pang | u4 | User's best pang earnt on this course for a 18-hole match. |
unknown_gss0045_j | bytes | Always 0x00? |
course_stat_best_item_id_character | u4 | From pangya_xx.iff/Character.iff. User's best character on this course for an 18-hole match. 0 if not set. |
unknown_gss0045_k | s1 |
meta:
id: gameservice_server_0045_user_statistics
title: GameService Server User Statistics
encoding: ASCII
endian: le
imports:
- ../../common/id_bank
- ../../common/pstring
- ../../common/user_statistic_data
seq:
- id: user_statistics
type: user_statistic_data
- id: course_stat_slots
type: course_stat_slot
repeat: expr
repeat-expr: 12
types:
course_stat_slot:
seq:
- id: course_id_a
enum: id_bank::course_id
type: s1
- id: course_stat_data
type: course_stat_data
if: course_id_a != id_bank::course_id::empty
course_stat_data:
seq:
- id: course_id_b
type: s1
enum: id_bank::course_id
- id: course_stat_total_strokes
type: u4
- id: course_stat_total_putts
type: u4
- id: match_stat_holes
type: u4
- id: unknown_gss0045_d
type: u4
- id: unknown_gss0045_e
type: u4
- id: unknown_gss0045_f
type: u4
- id: match_stat_total_score
type: s4
- id: course_stat_best_score
type: s1
- id: course_stat_best_pang
type: u4
- id: unknown_gss0045_j
size: 4
- id: course_stat_best_item_id_character
enum: id_bank::item_id_character
type: u4
- id: unknown_gss0045_k
type: s1