class MsgClientP2PIntroducerMessage

Class for the MsgClientP2PIntroducerMessage in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientP2PIntroducerMessage object

Calls superclass method SteamSerializable::new
# 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

Public Instance Methods

data() click to toggle source

Gets the data variable.

@note defaults to @return [byte] the value of data

# File lib/steamd/generated/steammsg.rb, line 554
def data
  @variables['data'][:value]
end
data=(value) click to toggle source

Sets the data variable.

@param value [byte] the new value

# File lib/steamd/generated/steammsg.rb, line 561
def data=(value)
  @variables['data'][:value] = value
end
data_len() click to toggle source

Gets the data_len variable.

@note defaults to @return [uint] the value of data_len

# File lib/steamd/generated/steammsg.rb, line 569
def data_len
  @variables['data_len'][:value]
end
data_len=(value) click to toggle source

Sets the data_len variable.

@param value [uint] the new value

# File lib/steamd/generated/steammsg.rb, line 576
def data_len=(value)
  @variables['data_len'][:value] = value
end
routing_type() click to toggle source

Gets the routing_type variable.

@note defaults to @return [EIntroducerRouting] the value of routing_type

# File lib/steamd/generated/steammsg.rb, line 539
def routing_type
  @variables['routing_type'][:value]
end
routing_type=(value) click to toggle source

Sets the routing_type variable.

@param value [EIntroducerRouting] the new value

# File lib/steamd/generated/steammsg.rb, line 546
def routing_type=(value)
  @variables['routing_type'][:value] = value
end
steam_id() click to toggle source

Gets the steam_id variable.

@note defaults to @return [ulong] the value of steam_id

# File lib/steamd/generated/steammsg.rb, line 524
def steam_id
  @variables['steam_id'][:value]
end
steam_id=(value) click to toggle source

Sets the steam_id variable.

@param value [ulong] the new value

# File lib/steamd/generated/steammsg.rb, line 531
def steam_id=(value)
  @variables['steam_id'][:value] = value
end