Edit on GitHub

GameService Server Room Join Response

Summary

This packet acknowledges joining a room.

It is one of the responses to:

Structure

gameservice_server_0049_room_join_response

Name Type Summary
error_code u1
response_payload switch(error_code)
case join_success join_success Case when error_code == join_success

Subtypes

join_success

Name Type Summary
unknown_a bytes[1]
room_name strz[64] The joined room's name.
unknown_b bytes[25]
room_number u2 The joined room's number, as per [Gameservice Client 0x0009 Room Join](/packets/gameservice/client/0009.ksy).
unknown_c bytes[111]
event_number u4 The joined event's number, as per [Gameservice Client 0x0179 Event Room Join](/packets/gameservice/client/0179.ksy).
unknown_d bytes[12]

Enums

error_code

Key Value
error_code::join_success 0
error_code::room_does_not_exist_unconfirmed 8
error_code::room_cannot_create 18

Definition

meta:
  id: gameservice_server_0049_room_join_response
  title: GameService Server Room Join Response
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: error_code
    type: u1
    enum: error_code
  - id: response_payload
    type:
      switch-on: error_code
      cases:
        error_code::join_success: join_success
types:
  join_success:
    seq:
      - id: unknown_a
        size: 1
      - id: room_name
        type: strz
        size: 64
      - id: unknown_b
        size: 25
      - id: room_number
        type: u2
      - id: unknown_c
        size: 111
      - id: event_number
        type: u4
      - id: unknown_d
        size: 12
enums:
  error_code:
    0: join_success
    8: room_does_not_exist_unconfirmed
    18: room_cannot_create

Examples

No examples available. Contribute one?