Class: MsgClientLoggedOff

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

Overview

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

#initializeMsgClientLoggedOff

Instantiate a MsgClientLoggedOff object



1956
1957
1958
# File 'lib/steamd/generated/steammsg.rb', line 1956

def initialize
  super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"sec_min_reconnect_hint", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"sec_max_reconnect_hint", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#resultEResult

Note:

defaults to

Gets the result variable.

Returns:

  • (EResult)

    the value of result



1964
1965
1966
# File 'lib/steamd/generated/steammsg.rb', line 1964

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

#result=(value) ⇒ Object

Sets the result variable.

Parameters:

  • value (EResult)

    the new value



1971
1972
1973
# File 'lib/steamd/generated/steammsg.rb', line 1971

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

#sec_max_reconnect_hintint

Note:

defaults to

Gets the sec_max_reconnect_hint variable.

Returns:

  • (int)

    the value of sec_max_reconnect_hint



1994
1995
1996
# File 'lib/steamd/generated/steammsg.rb', line 1994

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

#sec_max_reconnect_hint=(value) ⇒ Object

Sets the sec_max_reconnect_hint variable.

Parameters:

  • value (int)

    the new value



2001
2002
2003
# File 'lib/steamd/generated/steammsg.rb', line 2001

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

#sec_min_reconnect_hintint

Note:

defaults to

Gets the sec_min_reconnect_hint variable.

Returns:

  • (int)

    the value of sec_min_reconnect_hint



1979
1980
1981
# File 'lib/steamd/generated/steammsg.rb', line 1979

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

#sec_min_reconnect_hint=(value) ⇒ Object

Sets the sec_min_reconnect_hint variable.

Parameters:

  • value (int)

    the new value



1986
1987
1988
# File 'lib/steamd/generated/steammsg.rb', line 1986

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