Class: MsgClientSendGuestPass

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

Overview

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

#initializeMsgClientSendGuestPass

Instantiate a MsgClientSendGuestPass object



2115
2116
2117
# 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

Instance Method Details

#account_iduint

Note:

defaults to

Gets the account_id variable.

Returns:

  • (uint)

    the value of account_id



2153
2154
2155
# File 'lib/steamd/generated/steammsg.rb', line 2153

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

#account_id=(value) ⇒ Object

Sets the account_id variable.

Parameters:

  • value (uint)

    the new value



2160
2161
2162
# File 'lib/steamd/generated/steammsg.rb', line 2160

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

#gift_idulong

Note:

defaults to

Gets the gift_id variable.

Returns:

  • (ulong)

    the value of gift_id



2123
2124
2125
# File 'lib/steamd/generated/steammsg.rb', line 2123

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

#gift_id=(value) ⇒ Object

Sets the gift_id variable.

Parameters:

  • value (ulong)

    the new value



2130
2131
2132
# File 'lib/steamd/generated/steammsg.rb', line 2130

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

#gift_typebyte

Note:

defaults to

Gets the gift_type variable.

Returns:

  • (byte)

    the value of gift_type



2138
2139
2140
# File 'lib/steamd/generated/steammsg.rb', line 2138

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

#gift_type=(value) ⇒ Object

Sets the gift_type variable.

Parameters:

  • value (byte)

    the new value



2145
2146
2147
# File 'lib/steamd/generated/steammsg.rb', line 2145

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