class MsgClientLogOnResponse

Class for the MsgClientLogOnResponse in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientLogOnResponse object

Calls superclass method SteamSerializable::new
# File lib/steamd/generated/steammsg.rb, line 2013
def initialize
  super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"out_of_game_heartbeat_rate_sec", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"in_game_heartbeat_rate_sec", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"client_supplied_steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"ip_public", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"server_real_time", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Public Instance Methods

client_supplied_steam_id() click to toggle source

Gets the client_supplied_steam_id variable.

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

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

Sets the client_supplied_steam_id variable.

@param value [ulong] the new value

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

Gets the in_game_heartbeat_rate_sec variable.

@note defaults to @return [int] the value of in_game_heartbeat_rate_sec

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

Sets the in_game_heartbeat_rate_sec variable.

@param value [int] the new value

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

Gets the ip_public variable.

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

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

Sets the ip_public variable.

@param value [uint] the new value

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

Gets the out_of_game_heartbeat_rate_sec variable.

@note defaults to @return [int] the value of out_of_game_heartbeat_rate_sec

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

Sets the out_of_game_heartbeat_rate_sec variable.

@param value [int] the new value

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

Gets the result variable.

@note defaults to @return [EResult] the value of result

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

Sets the result variable.

@param value [EResult] the new value

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

Gets the server_real_time variable.

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

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

Sets the server_real_time variable.

@param value [uint] the new value

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