Class: MsgClientP2PIntroducerMessage

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

Overview

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

#initializeMsgClientP2PIntroducerMessage

Instantiate a MsgClientP2PIntroducerMessage object



516
517
518
# File 'lib/steamd/generated/steammsg.rb', line 516

def initialize
  super([{:name=>"steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"routing_type", :type=>"EIntroducerRouting", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"data", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"data_len", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#databyte

Note:

defaults to

Gets the data variable.

Returns:

  • (byte)

    the value of data



554
555
556
# File 'lib/steamd/generated/steammsg.rb', line 554

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

#data=(value) ⇒ Object

Sets the data variable.

Parameters:

  • value (byte)

    the new value



561
562
563
# File 'lib/steamd/generated/steammsg.rb', line 561

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

#data_lenuint

Note:

defaults to

Gets the data_len variable.

Returns:

  • (uint)

    the value of data_len



569
570
571
# File 'lib/steamd/generated/steammsg.rb', line 569

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

#data_len=(value) ⇒ Object

Sets the data_len variable.

Parameters:

  • value (uint)

    the new value



576
577
578
# File 'lib/steamd/generated/steammsg.rb', line 576

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

#routing_typeEIntroducerRouting

Note:

defaults to

Gets the routing_type variable.

Returns:



539
540
541
# File 'lib/steamd/generated/steammsg.rb', line 539

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

#routing_type=(value) ⇒ Object

Sets the routing_type variable.

Parameters:



546
547
548
# File 'lib/steamd/generated/steammsg.rb', line 546

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

#steam_idulong

Note:

defaults to

Gets the steam_id variable.

Returns:

  • (ulong)

    the value of steam_id



524
525
526
# File 'lib/steamd/generated/steammsg.rb', line 524

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

#steam_id=(value) ⇒ Object

Sets the steam_id variable.

Parameters:

  • value (ulong)

    the new value



531
532
533
# File 'lib/steamd/generated/steammsg.rb', line 531

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