Class: MsgClientP2PIntroducerMessage
- Inherits:
-
Object
- Object
- MsgClientP2PIntroducerMessage
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/steammsg.rb
Overview
Class for the MsgClientP2PIntroducerMessage in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#data ⇒ byte
Gets the data variable.
-
#data=(value) ⇒ Object
Sets the data variable.
-
#data_len ⇒ uint
Gets the data_len variable.
-
#data_len=(value) ⇒ Object
Sets the data_len variable.
-
#initialize ⇒ MsgClientP2PIntroducerMessage
constructor
Instantiate a MsgClientP2PIntroducerMessage object.
-
#routing_type ⇒ EIntroducerRouting
Gets the routing_type variable.
-
#routing_type=(value) ⇒ Object
Sets the routing_type variable.
-
#steam_id ⇒ ulong
Gets the steam_id variable.
-
#steam_id=(value) ⇒ Object
Sets the steam_id variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgClientP2PIntroducerMessage
Instantiate a MsgClientP2PIntroducerMessage object
516 517 518 |
# File 'lib/steamd/generated/steammsg.rb', line 516 def initialize super([{:name=>"steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"routing_type", :type=>"EIntroducerRouting", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"data", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"data_len", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], []) end |
Instance Method Details
#data ⇒ byte
Note:
defaults to
Gets the data variable.
554 555 556 |
# File 'lib/steamd/generated/steammsg.rb', line 554 def data @variables['data'][:value] end |
#data=(value) ⇒ Object
Sets the data variable.
561 562 563 |
# File 'lib/steamd/generated/steammsg.rb', line 561 def data=(value) @variables['data'][:value] = value end |
#data_len ⇒ uint
Note:
defaults to
Gets the data_len variable.
569 570 571 |
# File 'lib/steamd/generated/steammsg.rb', line 569 def data_len @variables['data_len'][:value] end |
#data_len=(value) ⇒ Object
Sets the data_len variable.
576 577 578 |
# File 'lib/steamd/generated/steammsg.rb', line 576 def data_len=(value) @variables['data_len'][:value] = value end |
#routing_type ⇒ EIntroducerRouting
Note:
defaults to
Gets the routing_type variable.
539 540 541 |
# File 'lib/steamd/generated/steammsg.rb', line 539 def routing_type @variables['routing_type'][:value] end |
#routing_type=(value) ⇒ Object
Sets the routing_type variable.
546 547 548 |
# File 'lib/steamd/generated/steammsg.rb', line 546 def routing_type=(value) @variables['routing_type'][:value] = value end |
#steam_id ⇒ ulong
Note:
defaults to
Gets the steam_id variable.
524 525 526 |
# File 'lib/steamd/generated/steammsg.rb', line 524 def steam_id @variables['steam_id'][:value] end |
#steam_id=(value) ⇒ Object
Sets the steam_id variable.
531 532 533 |
# File 'lib/steamd/generated/steammsg.rb', line 531 def steam_id=(value) @variables['steam_id'][:value] = value end |