Class: MsgClientSendGuestPass
- Inherits:
-
Object
- Object
- MsgClientSendGuestPass
- 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
Instance Method Summary collapse
-
#account_id ⇒ uint
Gets the account_id variable.
-
#account_id=(value) ⇒ Object
Sets the account_id variable.
-
#gift_id ⇒ ulong
Gets the gift_id variable.
-
#gift_id=(value) ⇒ Object
Sets the gift_id variable.
-
#gift_type ⇒ byte
Gets the gift_type variable.
-
#gift_type=(value) ⇒ Object
Sets the gift_type variable.
-
#initialize ⇒ MsgClientSendGuestPass
constructor
Instantiate a MsgClientSendGuestPass object.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientSendGuestPass
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_id ⇒ uint
Note:
defaults to
Gets the account_id variable.
2153 2154 2155 |
# File 'lib/steamd/generated/steammsg.rb', line 2153 def account_id @variables['account_id'][:value] end |
#account_id=(value) ⇒ Object
Sets the account_id variable.
2160 2161 2162 |
# File 'lib/steamd/generated/steammsg.rb', line 2160 def account_id=(value) @variables['account_id'][:value] = value end |
#gift_id ⇒ ulong
Note:
defaults to
Gets the gift_id variable.
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.
2130 2131 2132 |
# File 'lib/steamd/generated/steammsg.rb', line 2130 def gift_id=(value) @variables['gift_id'][:value] = value end |
#gift_type ⇒ byte
Note:
defaults to
Gets the gift_type variable.
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.
2145 2146 2147 |
# File 'lib/steamd/generated/steammsg.rb', line 2145 def gift_type=(value) @variables['gift_type'][:value] = value end |