class MsgClientGetFriendsWhoPlayGameResponse

Class for the MsgClientGetFriendsWhoPlayGameResponse in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientGetFriendsWhoPlayGameResponse object

Calls superclass method SteamSerializable::new
# 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

Public Instance Methods

count_friends() click to toggle source

Gets the count_friends variable.

@note defaults to @return [uint] the value of count_friends

# File lib/steamd/generated/steammsg.rb, line 938
def count_friends
  @variables['count_friends'][:value]
end
count_friends=(value) click to toggle source

Sets the count_friends variable.

@param value [uint] the new value

# File lib/steamd/generated/steammsg.rb, line 945
def count_friends=(value)
  @variables['count_friends'][:value] = value
end
game_id() click to toggle source

Gets the game_id variable.

@note defaults to @return [ulong] the value of game_id

# File lib/steamd/generated/steammsg.rb, line 923
def game_id
  @variables['game_id'][:value]
end
game_id=(value) click to toggle source

Sets the game_id variable.

@param value [ulong] the new value

# File lib/steamd/generated/steammsg.rb, line 930
def game_id=(value)
  @variables['game_id'][:value] = value
end
result() click to toggle source

Gets the result variable.

@note defaults to @return [EResult] the value of result

# File lib/steamd/generated/steammsg.rb, line 908
def result
  @variables['result'][:value]
end
result=(value) click to toggle source

Sets the result variable.

@param value [EResult] the new value

# File lib/steamd/generated/steammsg.rb, line 915
def result=(value)
  @variables['result'][:value] = value
end