class MsgClientSendGuestPass

Class for the MsgClientSendGuestPass in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgClientSendGuestPass object

Calls superclass method SteamSerializable::new
# File lib/steamd/generated/steammsg.rb, line 2115
def initialize
  super([{:name=>"gift_id", :type=>"ulong", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"gift_type", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"account_id", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Public Instance Methods

account_id() click to toggle source

Gets the account_id variable.

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

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

Sets the account_id variable.

@param value [uint] the new value

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

Gets the gift_id variable.

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

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

Sets the gift_id variable.

@param value [ulong] the new value

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

Gets the gift_type variable.

@note defaults to @return [byte] the value of gift_type

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

Sets the gift_type variable.

@param value [byte] the new value

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