class MsgGCHdrProtoBuf

Class for the MsgGCHdrProtoBuf in the Steam Language.

Public Class Methods

new() click to toggle source

Instantiate a MsgGCHdrProtoBuf object

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

Public Instance Methods

header_length() click to toggle source

Gets the header_length variable.

@note defaults to @return [int] the value of header_length

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

Sets the header_length variable.

@param value [int] the new value

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

Gets the msg variable.

@note defaults to 0 @return [uint] the value of msg

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

Sets the msg variable.

@param value [uint] the new value

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

Gets the proto variable.

@note defaults to @return [Gc::CMsgProtoBufHeader] the value of proto

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

Sets the proto variable.

@param value [Gc::CMsgProtoBufHeader] the new value

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