Edit on GitHub

User Course Record Data

Summary

Oft-recurring format for communicating a user's course records to clients, including:

Its client-side counterpart is User Course Result Data.

See Also:

Structure

user_course_record_data

Name Type Summary
course_id s1 ID of relevant course
course_record_total_strokes u4 User's total strokes on this course, across all matches.
course_record_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_user_course_record_d u4
unknown_user_course_record_e u4
unknown_user_course_record_f u4
match_stat_total_score s4 User's total score in this match.
course_record_best_score s1 User's best score on this course for a 18-hole match. 0x7F (127) if not set.
course_record_best_pang u4 User's best pang earnt on this course for a 18-hole match.
unknown_user_course_record_j bytes[4] Always 0x00?
course_record_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_user_course_record_k s1

Definition

meta:
  id: user_course_record_data
  title: User Course Record Data
  encoding: ASCII
  endian: le
  imports:
    - id_bank
seq:
  - id: course_id
    type: s1
    enum: id_bank::course_id
  - id: course_record_total_strokes
    type: u4
  - id: course_record_total_putts
    type: u4
  - id: match_stat_holes
    type: u4
  - id: unknown_user_course_record_d
    type: u4
  - id: unknown_user_course_record_e
    type: u4
  - id: unknown_user_course_record_f
    type: u4
  - id: match_stat_total_score
    type: s4
  - id: course_record_best_score
    type: s1
  - id: course_record_best_pang
    type: u4
  - id: unknown_user_course_record_j
    size: 4
  - id: course_record_item_id_character
    enum: id_bank::item_id_character
    type: u4
  - id: unknown_user_course_record_k
    type: s1

Examples

No examples available. Contribute one?