Class: MsgClientLogOnResponse

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

Overview

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

#initializeMsgClientLogOnResponse

Instantiate a MsgClientLogOnResponse object



2013
2014
2015
# 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

Instance Method Details

#client_supplied_steam_idulong

Note:

defaults to

Gets the client_supplied_steam_id variable.

Returns:

  • (ulong)

    the value of client_supplied_steam_id



2066
2067
2068
# 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) ⇒ Object

Sets the client_supplied_steam_id variable.

Parameters:

  • value (ulong)

    the new value



2073
2074
2075
# 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_secint

Note:

defaults to

Gets the in_game_heartbeat_rate_sec variable.

Returns:

  • (int)

    the value of in_game_heartbeat_rate_sec



2051
2052
2053
# 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) ⇒ Object

Sets the in_game_heartbeat_rate_sec variable.

Parameters:

  • value (int)

    the new value



2058
2059
2060
# 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_publicuint

Note:

defaults to

Gets the ip_public variable.

Returns:

  • (uint)

    the value of ip_public



2081
2082
2083
# File 'lib/steamd/generated/steammsg.rb', line 2081

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

#ip_public=(value) ⇒ Object

Sets the ip_public variable.

Parameters:

  • value (uint)

    the new value



2088
2089
2090
# File 'lib/steamd/generated/steammsg.rb', line 2088

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

#out_of_game_heartbeat_rate_secint

Note:

defaults to

Gets the out_of_game_heartbeat_rate_sec variable.

Returns:

  • (int)

    the value of out_of_game_heartbeat_rate_sec



2036
2037
2038
# 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) ⇒ Object

Sets the out_of_game_heartbeat_rate_sec variable.

Parameters:

  • value (int)

    the new value



2043
2044
2045
# 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

#resultEResult

Note:

defaults to

Gets the result variable.

Returns:

  • (EResult)

    the value of result



2021
2022
2023
# File 'lib/steamd/generated/steammsg.rb', line 2021

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

#result=(value) ⇒ Object

Sets the result variable.

Parameters:

  • value (EResult)

    the new value



2028
2029
2030
# File 'lib/steamd/generated/steammsg.rb', line 2028

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

#server_real_timeuint

Note:

defaults to

Gets the server_real_time variable.

Returns:

  • (uint)

    the value of server_real_time



2096
2097
2098
# File 'lib/steamd/generated/steammsg.rb', line 2096

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

#server_real_time=(value) ⇒ Object

Sets the server_real_time variable.

Parameters:

  • value (uint)

    the new value



2103
2104
2105
# File 'lib/steamd/generated/steammsg.rb', line 2103

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