Class: MsgGCHdr
- Inherits:
-
Object
- Object
- MsgGCHdr
- Includes:
- SteamSerializable
- Defined in:
- lib/steamd/generated/gamecoordinator.rb
Overview
Class for the MsgGCHdr in the Steam Language.
Instance Attribute Summary
Attributes included from SteamSerializable
Instance Method Summary collapse
-
#header_version ⇒ ushort
Gets the header_version variable.
-
#header_version=(value) ⇒ Object
Sets the header_version variable.
-
#initialize ⇒ MsgGCHdr
constructor
Instantiate a MsgGCHdr object.
-
#source_job_id ⇒ ulong
Gets the source_job_id variable.
-
#source_job_id=(value) ⇒ Object
Sets the source_job_id variable.
-
#target_job_id ⇒ ulong
Gets the target_job_id variable.
-
#target_job_id=(value) ⇒ Object
Sets the target_job_id variable.
Methods included from SteamSerializable
#consts, #deserialize, #encode_to, #flag, #serialize, #vars
Constructor Details
#initialize ⇒ MsgGCHdr
Instantiate a MsgGCHdr object
66 67 68 69 70 71 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 66 def initialize super([{:name=>"header_version", :type=>"ushort", :modifier=>nil, :value=>1, :size=>nil, :modifier_size=>nil}, {:name=>"target_job_id", :type=>"ulong", :modifier=>nil, :value=>18446744073709551615, :size=>nil, :modifier_size=>nil}, {:name=>"source_job_id", :type=>"ulong", :modifier=>nil, :value=>18446744073709551615, :size=>nil, :modifier_size=>nil}], []) self.header_version = 1 self.target_job_id = 18446744073709551615 self.source_job_id = 18446744073709551615 end |
Instance Method Details
#header_version ⇒ ushort
Note:
defaults to 1
Gets the header_version variable.
77 78 79 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 77 def header_version @variables['header_version'][:value] end |
#header_version=(value) ⇒ Object
Sets the header_version variable.
84 85 86 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 84 def header_version=(value) @variables['header_version'][:value] = value end |
#source_job_id ⇒ ulong
Note:
defaults to 18446744073709551615
Gets the source_job_id variable.
107 108 109 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 107 def source_job_id @variables['source_job_id'][:value] end |
#source_job_id=(value) ⇒ Object
Sets the source_job_id variable.
114 115 116 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 114 def source_job_id=(value) @variables['source_job_id'][:value] = value end |
#target_job_id ⇒ ulong
Note:
defaults to 18446744073709551615
Gets the target_job_id variable.
92 93 94 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 92 def target_job_id @variables['target_job_id'][:value] end |
#target_job_id=(value) ⇒ Object
Sets the target_job_id variable.
99 100 101 |
# File 'lib/steamd/generated/gamecoordinator.rb', line 99 def target_job_id=(value) @variables['target_job_id'][:value] = value end |