Class: MsgClientGetFriendsWhoPlayGame
- Inherits:
-
Object
- Object
- MsgClientGetFriendsWhoPlayGame
- 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
Instance Method Summary collapse
-
#game_id ⇒ ulong
Gets the game_id variable.
-
#game_id=(value) ⇒ Object
Sets the game_id variable.
-
#initialize ⇒ MsgClientGetFriendsWhoPlayGame
constructor
Instantiate a MsgClientGetFriendsWhoPlayGame object.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientGetFriendsWhoPlayGame
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_id ⇒ ulong
Note:
defaults to
Gets the game_id variable.
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.
888 889 890 |
# File 'lib/steamd/generated/steammsg.rb', line 888 def game_id=(value) @variables['game_id'][:value] = value end |