Edit on GitHub

GameService Server Achievement Status Response

Summary

This packet appears to detail the user's progress in all achievements.

Important: This packet is segmented into 20-entry lists. When more than 20 entries exist, multiple of this packet will be sent consecutively. The 'pending' integer in each is the total count of entries in the current packet plus all future packets in the series.

This is one of the responses to GameService Client 0x0157 Achievement Status Request.

Structure

gameservice_server_022d_achievement_status_response

Name Type Summary
unknown_a bytes[4]
achievement_count_pending u4
achievement_count u4
achievement_groups achievement_group[achievement_count]

Subtypes

achievement_group

Name Type Summary
achievement_group_id bytes[4]
achievement_group_slot u4
achievement_count u4
achievements achievement[achievement_count]

achievement

Name Type Summary
achievement_id u4 From pangya_xx.iff/Achievement.iff.
achievement_value u4 Unconfirmed.
achievement_unix_time bytes[4] Timestamp of when achieved. 0 = unachieved.

Definition

meta:
  id: gameservice_server_022d_achievement_status_response
  title: GameService Server Achievement Status Response
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: unknown_a
    size: 4
  - id: achievement_count_pending
    type: u4
  - id: achievement_count
    type: u4
  - id: achievement_groups
    type: achievement_group
    repeat: expr
    repeat-expr: achievement_count
types:
  achievement_group:
    seq:
      - id: achievement_group_id
        size: 4
      - id: achievement_group_slot
        type: u4
      - id: achievement_count
        type: u4
      - id: achievements
        type: achievement
        repeat: expr
        repeat-expr: achievement_count
  achievement:
    seq:
      - id: achievement_id
        type: u4
      - id: achievement_value
        type: u4
      - id: achievement_unix_time
        size: 4

Examples

No examples available. Contribute one?