Method: Api::ProductionPanel#initialize
- Defined in:
- lib/sc2ai/protocol/ui_pb.rb
#initialize(unit: nil, build_queue: [], production_queue: []) ⇒ ProductionPanel
END writers for optional fields
7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 |
# File 'lib/sc2ai/protocol/ui_pb.rb', line 7066 def initialize(unit: nil, build_queue: [], production_queue: []) @_bitmask = 0 if unit == nil @unit = nil else @_bitmask |= 0x0000000000000001 @unit = unit end @build_queue = build_queue @production_queue = production_queue end |