Edit on GitHub

GameService Client User Lounge Action

Summary

This packet relays an action performed by the user in a lounge.

The response is GameService Server 0x00C4 User Lounge Action Announce.

Aliases:

Structure

gameservice_client_0063_user_lounge_action

Name Type Summary
action_type u1
action_payload switch(action_type)
case rotation_absolute action_rotation_absolute Case when action_type == rotation_absolute
case position_absolute action_position_absolute Case when action_type == position_absolute
case position_relative action_position_relative Case when action_type == position_relative
case emote action_emote Case when action_type == emote
case departure action_departure Case when action_type == departure

Subtypes

action_rotation_absolute

Used in VS pre-game loadout screen.

Name Type Summary
axis_z_rotation_absolute_radians f4 Unconfirmed. Default is 0.33 (0x3EA8F5C3). Counterclockwise range about -2.81 (0.33-3.14) to +3.47 (0.33+3.14).

action_position_absolute

Sent when initially joining a room.

Name Type Summary
axis_x_position_absolute f4 East+/West- axis. Absolute position.
axis_z_position_absolute f4 North+/South- axis. Absolute position.
axis_y_position_absolute f4 Up+/Down- axis. Absolute position.

action_position_relative

Sent when making all other movements after joining.

Name Type Summary
axis_x_position_relative f4 East+/West- axis. Relative to current position.
axis_z_position_relative f4 North+/South- axis. Relative to current position.
axis_y_position_relative f4 Up+/Down- axis. Relative to current position.

action_emote

Name Type Summary
emote_string pstring For instance, "chat_\xB4\xED\xBD\xBA" (EUC-KR encoding, "chat_[daen][seu]") is the "/dance" emote command.

action_departure

This type has not been witnessed, but is included here as a stub because of its inclusion in the response packet.

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

Enums

action_type

Key Value
action_type::rotation_absolute 0
action_type::position_absolute 4
action_type::position_relative 6
action_type::emote 7
action_type::departure 8

Definition

meta:
  id: gameservice_client_0063_user_lounge_action
  title: GameService Client User Lounge Action
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: action_type
    type: u1
    enum: action_type
  - id: action_payload
    type:
      switch-on: action_type
      cases:
        action_type::rotation_absolute: action_rotation_absolute
        action_type::position_absolute: action_position_absolute
        action_type::position_relative: action_position_relative
        action_type::emote: action_emote
        action_type::departure: action_departure
types:
  action_rotation_absolute:
    seq:
      - id: axis_z_rotation_absolute_radians
        type: f4
  action_position_absolute:
    seq:
      - id: axis_x_position_absolute
        type: f4
      - id: axis_z_position_absolute
        type: f4
      - id: axis_y_position_absolute
        type: f4
  action_position_relative:
    seq:
      - id: axis_x_position_relative
        type: f4
      - id: axis_z_position_relative
        type: f4
      - id: axis_y_position_relative
        type: f4
  action_emote:
    seq:
      - id: emote_string
        type: pstring
  action_departure: {}
enums:
  action_type:
    0: rotation_absolute
    4: position_absolute
    6: position_relative
    7: emote
    8: departure

Examples

No examples available. Contribute one?