Class: MsgClientGetFriendsWhoPlayGameResponse
- Inherits:
-
Object
- Object
- MsgClientGetFriendsWhoPlayGameResponse
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgClientGetFriendsWhoPlayGameResponse in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#count_friends ⇒ uint
Gets the count_friends variable.
-
#count_friends=(value) ⇒ Object
Sets the count_friends variable.
-
#game_id ⇒ ulong
Gets the game_id variable.
-
#game_id=(value) ⇒ Object
Sets the game_id variable.
-
#initialize ⇒ MsgClientGetFriendsWhoPlayGameResponse
constructor
Instantiate a MsgClientGetFriendsWhoPlayGameResponse object.
-
#result ⇒ EResult
Gets the result variable.
-
#result=(value) ⇒ Object
Sets the result variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientGetFriendsWhoPlayGameResponse
Instantiate a MsgClientGetFriendsWhoPlayGameResponse object
900 901 902 |
# File 'lib/steamd/generated/steammsg.rb', line 900 def initialize super([{:name=>"result", :type=>"EResult", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"game_id", :type=>"ulong", :modifier=>"gameidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count_friends", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], []) end |
Instance Method Details
#count_friends ⇒ uint
Note:
defaults to
Gets the count_friends variable.
938 939 940 |
# File 'lib/steamd/generated/steammsg.rb', line 938 def count_friends @variables['count_friends'][:value] end |
#count_friends=(value) ⇒ Object
Sets the count_friends variable.
945 946 947 |
# File 'lib/steamd/generated/steammsg.rb', line 945 def count_friends=(value) @variables['count_friends'][:value] = value end |
#game_id ⇒ ulong
Note:
defaults to
Gets the game_id variable.
923 924 925 |
# File 'lib/steamd/generated/steammsg.rb', line 923 def game_id @variables['game_id'][:value] end |
#game_id=(value) ⇒ Object
Sets the game_id variable.
930 931 932 |
# File 'lib/steamd/generated/steammsg.rb', line 930 def game_id=(value) @variables['game_id'][:value] = value end |
#result ⇒ EResult
Note:
defaults to
Gets the result variable.
908 909 910 |
# File 'lib/steamd/generated/steammsg.rb', line 908 def result @variables['result'][:value] end |
#result=(value) ⇒ Object
Sets the result variable.
915 916 917 |
# File 'lib/steamd/generated/steammsg.rb', line 915 def result=(value) @variables['result'][:value] = value end |