Edit on GitHub

GameService Client Shot Meter Input

Summary

This packet relays how the user has powered their shot with the shot meter.

It is sent 3 times per shot, corresponding to each of the 3 spacebar presses.

For putts, 0x02-strength is skipped, 0x03-accuracy is used for power, and an (erroneous?) 0x00-cancel sent later. All putts are 100% accurate.

There is no response.

Aliases:

Structure

gameservice_client_0014_shot_meter_input

Name Type Summary
input_sequence u1
meter_value f4 Position of sliding bar. 140 (Centred Pangya Bar), increasing linearly to 500 (Full Power). Types 0x00 and 0x01 always contain current location of pangya bar.

Enums

input_sequence

Key Value
input_sequence::shot_cancelled 0
input_sequence::shot_started 1
input_sequence::shot_strength_set 2
input_sequence::shot_accuracy_set 3

Definition

meta:
  id: gameservice_client_0014_shot_meter_input
  title: GameService Client Shot Meter Input
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: input_sequence
    type: u1
    enum: input_sequence
  - id: meter_value
    type: f4
enums:
  input_sequence:
    0: shot_cancelled
    1: shot_started
    2: shot_strength_set
    3: shot_accuracy_set

Examples

No examples available. Contribute one?