Class: MsgClientGetFriendsWhoPlayGame

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

Overview

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

#initializeMsgClientGetFriendsWhoPlayGame

Instantiate a MsgClientGetFriendsWhoPlayGame object



873
874
875
# File 'lib/steamd/generated/steammsg.rb', line 873

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

Instance Method Details

#game_idulong

Note:

defaults to

Gets the game_id variable.

Returns:

  • (ulong)

    the value of game_id



881
882
883
# File 'lib/steamd/generated/steammsg.rb', line 881

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

#game_id=(value) ⇒ Object

Sets the game_id variable.

Parameters:

  • value (ulong)

    the new value



888
889
890
# File 'lib/steamd/generated/steammsg.rb', line 888

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