Class: MsgClientOGSEndSession

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

Overview

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

#initializeMsgClientOGSEndSession

Instantiate a MsgClientOGSEndSession object



732
733
734
# File 'lib/steamd/generated/steammsg.rb', line 732

def initialize
  super([{:name=>"session_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"time_ended", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"reason_code", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_attributes", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#count_attributesint

Note:

defaults to

Gets the count_attributes variable.

Returns:

  • (int)

    the value of count_attributes



785
786
787
# File 'lib/steamd/generated/steammsg.rb', line 785

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

#count_attributes=(value) ⇒ Object

Sets the count_attributes variable.

Parameters:

  • value (int)

    the new value



792
793
794
# File 'lib/steamd/generated/steammsg.rb', line 792

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

#reason_codeint

Note:

defaults to

Gets the reason_code variable.

Returns:

  • (int)

    the value of reason_code



770
771
772
# File 'lib/steamd/generated/steammsg.rb', line 770

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

#reason_code=(value) ⇒ Object

Sets the reason_code variable.

Parameters:

  • value (int)

    the new value



777
778
779
# File 'lib/steamd/generated/steammsg.rb', line 777

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

#session_idulong

Note:

defaults to

Gets the session_id variable.

Returns:

  • (ulong)

    the value of session_id



740
741
742
# File 'lib/steamd/generated/steammsg.rb', line 740

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

#session_id=(value) ⇒ Object

Sets the session_id variable.

Parameters:

  • value (ulong)

    the new value



747
748
749
# File 'lib/steamd/generated/steammsg.rb', line 747

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

#time_endeduint

Note:

defaults to

Gets the time_ended variable.

Returns:

  • (uint)

    the value of time_ended



755
756
757
# File 'lib/steamd/generated/steammsg.rb', line 755

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

#time_ended=(value) ⇒ Object

Sets the time_ended variable.

Parameters:

  • value (uint)

    the new value



762
763
764
# File 'lib/steamd/generated/steammsg.rb', line 762

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