class MsgGCHdr

Class for the MsgGCHdr in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgGCHdr object

Calls superclass method SteamSerializable::new
# 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

Public Instance Methods

header_version() click to toggle source

Gets the header_version variable.

@note defaults to 1 @return [ushort] the value of header_version

# File lib/steamd/generated/gamecoordinator.rb, line 77
def header_version
  @variables['header_version'][:value]
end
header_version=(value) click to toggle source

Sets the header_version variable.

@param value [ushort] the new value

# File lib/steamd/generated/gamecoordinator.rb, line 84
def header_version=(value)
  @variables['header_version'][:value] = value
end
source_job_id() click to toggle source

Gets the source_job_id variable.

@note defaults to 18446744073709551615 @return [ulong] the value of source_job_id

# File lib/steamd/generated/gamecoordinator.rb, line 107
def source_job_id
  @variables['source_job_id'][:value]
end
source_job_id=(value) click to toggle source

Sets the source_job_id variable.

@param value [ulong] the new value

# File lib/steamd/generated/gamecoordinator.rb, line 114
def source_job_id=(value)
  @variables['source_job_id'][:value] = value
end
target_job_id() click to toggle source

Gets the target_job_id variable.

@note defaults to 18446744073709551615 @return [ulong] the value of target_job_id

# File lib/steamd/generated/gamecoordinator.rb, line 92
def target_job_id
  @variables['target_job_id'][:value]
end
target_job_id=(value) click to toggle source

Sets the target_job_id variable.

@param value [ulong] the new value

# File lib/steamd/generated/gamecoordinator.rb, line 99
def target_job_id=(value)
  @variables['target_job_id'][:value] = value
end