Class: MsgClientOGSBeginSessionResponse

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

Overview

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

#initializeMsgClientOGSBeginSessionResponse

Instantiate a MsgClientOGSBeginSessionResponse object



660
661
662
# File 'lib/steamd/generated/steammsg.rb', line 660

def initialize
  super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"collecting_any", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"collecting_details", :type=>"byte", :modifier=>"boolmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"session_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#collecting_anybyte

Note:

defaults to

Gets the collecting_any variable.

Returns:

  • (byte)

    the value of collecting_any



683
684
685
# File 'lib/steamd/generated/steammsg.rb', line 683

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

#collecting_any=(value) ⇒ Object

Sets the collecting_any variable.

Parameters:

  • value (byte)

    the new value



690
691
692
# File 'lib/steamd/generated/steammsg.rb', line 690

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

#collecting_detailsbyte

Note:

defaults to

Gets the collecting_details variable.

Returns:

  • (byte)

    the value of collecting_details



698
699
700
# File 'lib/steamd/generated/steammsg.rb', line 698

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

#collecting_details=(value) ⇒ Object

Sets the collecting_details variable.

Parameters:

  • value (byte)

    the new value



705
706
707
# File 'lib/steamd/generated/steammsg.rb', line 705

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

#resultEResult

Note:

defaults to

Gets the result variable.

Returns:

  • (EResult)

    the value of result



668
669
670
# File 'lib/steamd/generated/steammsg.rb', line 668

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

#result=(value) ⇒ Object

Sets the result variable.

Parameters:

  • value (EResult)

    the new value



675
676
677
# File 'lib/steamd/generated/steammsg.rb', line 675

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

#session_idulong

Note:

defaults to

Gets the session_id variable.

Returns:

  • (ulong)

    the value of session_id



713
714
715
# File 'lib/steamd/generated/steammsg.rb', line 713

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

#session_id=(value) ⇒ Object

Sets the session_id variable.

Parameters:

  • value (ulong)

    the new value



720
721
722
# File 'lib/steamd/generated/steammsg.rb', line 720

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