Edit on GitHub

GameService Server User Statistics

Summary

This packet contains statistics for the current user, which are relayed before and after every match.

This is a response to:

Structure

gameservice_server_0045_user_statistics

Name Type Summary
user_statistics user_statistic_data More details can be found in type definition file.
user_statistics_ext user_statistic_data_ext More details can be found in type definition file.
course_stat_slots course_stat_slot[12] 12 extra data slots. Typically used in response to GSC-0006 only.

Subtypes

course_stat_slot

Name Type Summary
course_id s1 From pangya_xx.iff/Course.iff. Course for match just played. 0xFF (-1) if empty/unused.
user_course_record_data user_course_record_data Present only if `course_id` is not 0xFF (-1).

Definition

meta:
  id: gameservice_server_0045_user_statistics
  title: GameService Server User Statistics
  encoding: ASCII
  endian: le
  imports:
    - ../../common/id_bank
    - ../../common/pstring
    - ../../common/user_course_record_data
    - ../../common/user_statistic_data
    - ../../common/user_statistic_data_ext
seq:
  - id: user_statistics
    type: user_statistic_data
  - id: user_statistics_ext
    type: user_statistic_data_ext
  - id: course_stat_slots
    type: course_stat_slot
    repeat: expr
    repeat-expr: 12
types:
  course_stat_slot:
    seq:
      - id: course_id
        enum: id_bank::course_id
        type: s1
      - id: user_course_record_data
        type: user_course_record_data
        if: course_id != id_bank::course_id::empty

Examples

No examples available. Contribute one?