Class: MsgClientChatRoomInfo

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

Overview

Class for the MsgClientChatRoomInfo 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

#initializeMsgClientChatRoomInfo

Instantiate a MsgClientChatRoomInfo object



1815
1816
1817
# File 'lib/steamd/generated/steammsg.rb', line 1815

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

Instance Method Details

#steam_id_chatulong

Note:

defaults to

Gets the steam_id_chat variable.

Returns:

  • (ulong)

    the value of steam_id_chat



1823
1824
1825
# File 'lib/steamd/generated/steammsg.rb', line 1823

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



1830
1831
1832
# File 'lib/steamd/generated/steammsg.rb', line 1830

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

#typeEChatInfoType

Note:

defaults to

Gets the type variable.

Returns:



1838
1839
1840
# File 'lib/steamd/generated/steammsg.rb', line 1838

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

#type=(value) ⇒ Object

Sets the type variable.

Parameters:



1845
1846
1847
# File 'lib/steamd/generated/steammsg.rb', line 1845

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