Edit on GitHub

GameService Client Shot Commit

Summary

This packet relays that the user has committed to a shot, and supplies some additional information.

The response is GameService Server 0x0055 Shot Commit Announce.

Aliases:

Structure

gameservice_client_0012_shot_commit

Name Type Summary
shot_subtype u2
shot_subdata switch(shot_subtype)
case 0 shot_commit_00_normal Case when shot_subtype == 0
case 1 shot_commit_01_putt Case when shot_subtype == 1
shot_strength f4 From [GameService Client 0x0014 Shot Meter Input](/packets/gameservice/client/0014.ksy). Strength of shot (max 500).
shot_accuracy f4 From [GameService Client 0x0014 Shot Meter Input](/packets/gameservice/client/0014.ksy). Accuracy of shot (abt 140).
shot_english_curve f4 Unconfirmed. +Right, from -1 to +1.
shot_english_spin f4 Unconfirmed. +Down, from -1 to +1.
unknown_dc bytes[16]
unknown_fb f4
unknown_dd bytes[4]
shot_angle f4 From [GameService Client 0x0013 Shot Rotate](/packets/gameservice/client/0013.ksy). Rotation/aim of shot. May differ very slightly.
unknown_de bytes[4]
shot_pangya_bar f4 From [GameService Client 0x0014 Shot Meter Input](/packets/gameservice/client/0014.ksy). Location of the pangya bar (oft 140).
shot_club u4 From [GameService Client 0x0016 Shot Club Change](/packets/gameservice/client/0016.ksy). Used club of shot.
unknown_df bytes[13]
unknown_sa s4
unknown_fa f4

Subtypes

shot_commit_00_normal

This field does not exist for non-putting shots.

Name Type Summary
This structure does not have any fields of its own.

shot_commit_01_putt

Name Type Summary
unknown_da bytes[5]
unknown_ua u4

Definition

meta:
  id: gameservice_client_0012_shot_commit
  title: GameService Client Shot Commit
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: shot_subtype
    type: u2
  - id: shot_subdata
    type:
      switch-on: shot_subtype
      cases:
        0: shot_commit_00_normal
        1: shot_commit_01_putt
  - id: shot_strength
    type: f4
  - id: shot_accuracy
    type: f4
  - id: shot_english_curve
    type: f4
  - id: shot_english_spin
    type: f4
  - id: unknown_dc
    size: 16
  - id: unknown_fb
    type: f4
  - id: unknown_dd
    size: 4
  - id: shot_angle
    type: f4
  - id: unknown_de
    size: 4
  - id: shot_pangya_bar
    type: f4
  - id: shot_club
    type: u4
  - id: unknown_df
    size: 13
  - id: unknown_sa
    type: s4
  - id: unknown_fa
    type: f4
types:
  shot_commit_00_normal: {}
  shot_commit_01_putt:
    seq:
      - id: unknown_da
        size: 5
      - id: unknown_ua
        type: u4

Examples

No examples available. Contribute one?