Class: MsgClientChatMsg

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

Overview

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

#initializeMsgClientChatMsg

Instantiate a MsgClientChatMsg object



1587
1588
1589
# File 'lib/steamd/generated/steammsg.rb', line 1587

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

Instance Method Details

#chat_msg_typeEChatEntryType

Note:

defaults to

Gets the chat_msg_type variable.

Returns:



1625
1626
1627
# File 'lib/steamd/generated/steammsg.rb', line 1625

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

#chat_msg_type=(value) ⇒ Object

Sets the chat_msg_type variable.

Parameters:



1632
1633
1634
# File 'lib/steamd/generated/steammsg.rb', line 1632

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

#steam_id_chat_roomulong

Note:

defaults to

Gets the steam_id_chat_room variable.

Returns:

  • (ulong)

    the value of steam_id_chat_room



1610
1611
1612
# File 'lib/steamd/generated/steammsg.rb', line 1610

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

#steam_id_chat_room=(value) ⇒ Object

Sets the steam_id_chat_room variable.

Parameters:

  • value (ulong)

    the new value



1617
1618
1619
# File 'lib/steamd/generated/steammsg.rb', line 1617

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

#steam_id_chatterulong

Note:

defaults to

Gets the steam_id_chatter variable.

Returns:

  • (ulong)

    the value of steam_id_chatter



1595
1596
1597
# File 'lib/steamd/generated/steammsg.rb', line 1595

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

#steam_id_chatter=(value) ⇒ Object

Sets the steam_id_chatter variable.

Parameters:

  • value (ulong)

    the new value



1602
1603
1604
# File 'lib/steamd/generated/steammsg.rb', line 1602

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