Class: MsgClientChatAction

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

Overview

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

#initializeMsgClientChatAction

Instantiate a MsgClientChatAction object



1686
1687
1688
# File 'lib/steamd/generated/steammsg.rb', line 1686

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

Instance Method Details

#chat_actionEChatAction

Note:

defaults to

Gets the chat_action variable.

Returns:



1724
1725
1726
# File 'lib/steamd/generated/steammsg.rb', line 1724

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

#chat_action=(value) ⇒ Object

Sets the chat_action variable.

Parameters:



1731
1732
1733
# File 'lib/steamd/generated/steammsg.rb', line 1731

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

#steam_id_chatulong

Note:

defaults to

Gets the steam_id_chat variable.

Returns:

  • (ulong)

    the value of steam_id_chat



1694
1695
1696
# File 'lib/steamd/generated/steammsg.rb', line 1694

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



1701
1702
1703
# File 'lib/steamd/generated/steammsg.rb', line 1701

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

#steam_id_user_to_act_onulong

Note:

defaults to

Gets the steam_id_user_to_act_on variable.

Returns:

  • (ulong)

    the value of steam_id_user_to_act_on



1709
1710
1711
# File 'lib/steamd/generated/steammsg.rb', line 1709

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

#steam_id_user_to_act_on=(value) ⇒ Object

Sets the steam_id_user_to_act_on variable.

Parameters:

  • value (ulong)

    the new value



1716
1717
1718
# File 'lib/steamd/generated/steammsg.rb', line 1716

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