Edit on GitHub

GameService Server User Lounge Action Announce

Summary

This packet announces a user performing an action to all users in the same lounge.

It is the response to:

Structure

gameservice_server_00c4_user_lounge_action_announce

Name Type Summary
connection_id u4 Connection ID of the relevant user.
action_type u1
action_payload switch(action_type)
case action_type::rotation_unknown action_rotation_unknown Case when action_type == action_type::rotation_unknown
case action_type::position_absolute action_position_absolute Case when action_type == action_type::position_absolute
case action_type::position_relative action_position_relative Case when action_type == 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_unknown

Used in VS pre-game loadout screen.

Name Type Summary
axis_z_rotation_unknown f4 Default is 195 (0x43430000). Values are all positive integers, but seem arbitrary.

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

Name Type Summary
unknown_a_departure bytes All 0x00.

Enums

action_type

Key Value
action_type::unknown_type00 0
action_type::position_initial 4
action_type::position_update 6
action_type::emote 7
action_type::departure 8

Definition

meta:
  id: gameservice_server_00c4_user_lounge_action_announce
  title: GameService Server User Lounge Action Announce
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: connection_id
    type: u4
  - id: action_type
    type: u1
    enum: action_type
  - id: action_payload
    type:
      switch-on: action_type
      cases:
        action_type::rotation_unknown: action_rotation_unknown
        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_unknown:
    seq:
      - id: axis_z_rotation_unknown
        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:
    seq:
      - id: unknown_a_departure
        size: 4
enums:
  action_type:
    0: unknown_type00
    4: position_initial
    6: position_update
    7: emote
    8: departure

Examples

No examples available. Contribute one?