Class: MsgClientOGSWriteRow

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

Overview

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

#initializeMsgClientOGSWriteRow

Instantiate a MsgClientOGSWriteRow object



831
832
833
# File 'lib/steamd/generated/steammsg.rb', line 831

def initialize
  super([{:name=>"session_id", :type=>"ulong", :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



854
855
856
# File 'lib/steamd/generated/steammsg.rb', line 854

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

#count_attributes=(value) ⇒ Object

Sets the count_attributes variable.

Parameters:

  • value (int)

    the new value



861
862
863
# File 'lib/steamd/generated/steammsg.rb', line 861

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

#session_idulong

Note:

defaults to

Gets the session_id variable.

Returns:

  • (ulong)

    the value of session_id



839
840
841
# File 'lib/steamd/generated/steammsg.rb', line 839

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

#session_id=(value) ⇒ Object

Sets the session_id variable.

Parameters:

  • value (ulong)

    the new value



846
847
848
# File 'lib/steamd/generated/steammsg.rb', line 846

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