Class: MsgGSApprove

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

Overview

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

#initializeMsgGSApprove

Instantiate a MsgGSApprove object



1215
1216
1217
# File 'lib/steamd/generated/steammsg.rb', line 1215

def initialize
  super([{:name=>"steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#steam_idulong

Note:

defaults to

Gets the steam_id variable.

Returns:

  • (ulong)

    the value of steam_id



1223
1224
1225
# File 'lib/steamd/generated/steammsg.rb', line 1223

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

#steam_id=(value) ⇒ Object

Sets the steam_id variable.

Parameters:

  • value (ulong)

    the new value



1230
1231
1232
# File 'lib/steamd/generated/steammsg.rb', line 1230

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