Class: MsgClientJoinChat

Inherits:
Object
  • Object
show all
Includes:
SteamSerializable
Defined in:
lib/steamd/generated/steammsg.rb

Overview

Class for the MsgClientJoinChat in the Steam Language.

Instance Attribute Summary

Attributes included from SteamSerializable

#constants, #variables

Instance Method Summary collapse

Methods included from SteamSerializable

#consts, #deserialize, #encode_to, #flag, #serialize, #vars

Constructor Details

#initializeMsgClientJoinChat

Instantiate a MsgClientJoinChat object



1413
1414
1415
# File 'lib/steamd/generated/steammsg.rb', line 1413

def initialize
  super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"is_voice_speaker", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#is_voice_speakerbyte

Note:

defaults to

Gets the is_voice_speaker variable.

Returns:

  • (byte)

    the value of is_voice_speaker



1436
1437
1438
# File 'lib/steamd/generated/steammsg.rb', line 1436

def is_voice_speaker
  @variables['is_voice_speaker'][:value]
end

#is_voice_speaker=(value) ⇒ Object

Sets the is_voice_speaker variable.

Parameters:

  • value (byte)

    the new value



1443
1444
1445
# File 'lib/steamd/generated/steammsg.rb', line 1443

def is_voice_speaker=(value)
  @variables['is_voice_speaker'][:value] = value
end

#steam_id_chatulong

Note:

defaults to

Gets the steam_id_chat variable.

Returns:

  • (ulong)

    the value of steam_id_chat



1421
1422
1423
# File 'lib/steamd/generated/steammsg.rb', line 1421

def steam_id_chat
  @variables['steam_id_chat'][:value]
end

#steam_id_chat=(value) ⇒ Object

Sets the steam_id_chat variable.

Parameters:

  • value (ulong)

    the new value



1428
1429
1430
# File 'lib/steamd/generated/steammsg.rb', line 1428

def steam_id_chat=(value)
  @variables['steam_id_chat'][:value] = value
end