Class: MsgGCHdrProtoBuf
- Inherits:
-
Object
- Object
- MsgGCHdrProtoBuf
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/gamecoordinator.rb
Overview
Class for the MsgGCHdrProtoBuf in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#header_length ⇒ int
Gets the header_length variable.
-
#header_length=(value) ⇒ Object
Sets the header_length variable.
-
#initialize ⇒ MsgGCHdrProtoBuf
constructor
Instantiate a MsgGCHdrProtoBuf object.
-
#msg ⇒ uint
Gets the msg variable.
-
#msg=(value) ⇒ Object
Sets the msg variable.
-
#proto ⇒ Gc::CMsgProtoBufHeader
Gets the proto variable.
-
#proto=(value) ⇒ Object
Sets the proto variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgGCHdrProtoBuf
Instantiate a MsgGCHdrProtoBuf object
7 8 9 10 11 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 7 def initialize super([{:name=>"msg", :type=>"uint", :modifier=>"protomaskgc", :value=>0, :size=>nil, :modifier_size=>nil}, {:name=>"header_length", :type=>"int", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"proto", :type=>"Gc::CMsgProtoBufHeader", :modifier=>"proto", :value=>nil, :size=>nil, :modifier_size=>"header_length"}], []) self.msg = 0 self.proto = Gc::CMsgProtoBufHeader.new end |
Instance Method Details
#header_length ⇒ int
Note:
defaults to
Gets the header_length variable.
32 33 34 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 32 def header_length @variables['header_length'][:value] end |
#header_length=(value) ⇒ Object
Sets the header_length variable.
39 40 41 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 39 def header_length=(value) @variables['header_length'][:value] = value end |
#msg ⇒ uint
Note:
defaults to 0
Gets the msg variable.
17 18 19 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 17 def msg @variables['msg'][:value] end |
#msg=(value) ⇒ Object
Sets the msg variable.
24 25 26 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 24 def msg=(value) @variables['msg'][:value] = value end |
#proto ⇒ Gc::CMsgProtoBufHeader
Note:
defaults to
Gets the proto variable.
47 48 49 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 47 def proto @variables['proto'][:value] end |
#proto=(value) ⇒ Object
Sets the proto variable.
54 55 56 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 54 def proto=(value) @variables['proto'][:value] = value end |