Method: Api::RequestStep#initialize

Defined in:
lib/sc2ai/protocol/sc2api_pb.rb

#initialize(count: nil) ⇒ RequestStep

END writers for optional fields



26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
# File 'lib/sc2ai/protocol/sc2api_pb.rb', line 26499

def initialize(count: nil)
  @_bitmask = 0

  if count == nil
    @count = 0
  else
    unless 0 <= count && count <= 4_294_967_295
      raise RangeError,
            "Value (#{count}) for field count is out of bounds (0..4294967295)"
    end
    @_bitmask |= 0x0000000000000001
    @count = count
  end
end