Class: MsgClientChatEnter

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

Overview

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

#initializeMsgClientChatEnter

Instantiate a MsgClientChatEnter object



1455
1456
1457
# File 'lib/steamd/generated/steammsg.rb', line 1455

def initialize
  super([{:name=>"steam_id_chat", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_friend", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_room_type", :type=>"EChatRoomType", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_owner", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_clan", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"chat_flags", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"enter_response", :type=>"EChatRoomEnterResponse", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"num_members", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#chat_flagsbyte

Note:

defaults to

Gets the chat_flags variable.

Returns:

  • (byte)

    the value of chat_flags



1538
1539
1540
# File 'lib/steamd/generated/steammsg.rb', line 1538

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

#chat_flags=(value) ⇒ Object

Sets the chat_flags variable.

Parameters:

  • value (byte)

    the new value



1545
1546
1547
# File 'lib/steamd/generated/steammsg.rb', line 1545

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

#chat_room_typeEChatRoomType

Note:

defaults to

Gets the chat_room_type variable.

Returns:



1493
1494
1495
# File 'lib/steamd/generated/steammsg.rb', line 1493

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

#chat_room_type=(value) ⇒ Object

Sets the chat_room_type variable.

Parameters:



1500
1501
1502
# File 'lib/steamd/generated/steammsg.rb', line 1500

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

#enter_responseEChatRoomEnterResponse

Note:

defaults to

Gets the enter_response variable.

Returns:



1553
1554
1555
# File 'lib/steamd/generated/steammsg.rb', line 1553

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

#enter_response=(value) ⇒ Object

Sets the enter_response variable.

Parameters:



1560
1561
1562
# File 'lib/steamd/generated/steammsg.rb', line 1560

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

#num_membersint

Note:

defaults to

Gets the num_members variable.

Returns:

  • (int)

    the value of num_members



1568
1569
1570
# File 'lib/steamd/generated/steammsg.rb', line 1568

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

#num_members=(value) ⇒ Object

Sets the num_members variable.

Parameters:

  • value (int)

    the new value



1575
1576
1577
# File 'lib/steamd/generated/steammsg.rb', line 1575

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

#steam_id_chatulong

Note:

defaults to

Gets the steam_id_chat variable.

Returns:

  • (ulong)

    the value of steam_id_chat



1463
1464
1465
# File 'lib/steamd/generated/steammsg.rb', line 1463

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



1470
1471
1472
# File 'lib/steamd/generated/steammsg.rb', line 1470

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

#steam_id_clanulong

Note:

defaults to

Gets the steam_id_clan variable.

Returns:

  • (ulong)

    the value of steam_id_clan



1523
1524
1525
# File 'lib/steamd/generated/steammsg.rb', line 1523

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

#steam_id_clan=(value) ⇒ Object

Sets the steam_id_clan variable.

Parameters:

  • value (ulong)

    the new value



1530
1531
1532
# File 'lib/steamd/generated/steammsg.rb', line 1530

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

#steam_id_friendulong

Note:

defaults to

Gets the steam_id_friend variable.

Returns:

  • (ulong)

    the value of steam_id_friend



1478
1479
1480
# File 'lib/steamd/generated/steammsg.rb', line 1478

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

#steam_id_friend=(value) ⇒ Object

Sets the steam_id_friend variable.

Parameters:

  • value (ulong)

    the new value



1485
1486
1487
# File 'lib/steamd/generated/steammsg.rb', line 1485

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

#steam_id_ownerulong

Note:

defaults to

Gets the steam_id_owner variable.

Returns:

  • (ulong)

    the value of steam_id_owner



1508
1509
1510
# File 'lib/steamd/generated/steammsg.rb', line 1508

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

#steam_id_owner=(value) ⇒ Object

Sets the steam_id_owner variable.

Parameters:

  • value (ulong)

    the new value



1515
1516
1517
# File 'lib/steamd/generated/steammsg.rb', line 1515

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