Sha256: e8db0972136c2d0aea23861d33d81f0950bc22cad0a2d94df8a22698b146c0c2
Contents?: true
Size: 698 Bytes
Versions: 4
Compression:
Stored size: 698 Bytes
Contents
# frozen_string_literal: true module Api # Adds additional functionality to message object Api::UnitTypeData module UnitTypeDataExtension # @!attribute mineral_cost_sum # Sum of all morphs mineral cost # i.e. 550M Orbital command = 400M CC + 150M Upgrade # i.e. 350M Hatchery = 50M Drone + 300M Build # @return [Integer] sum of mineral costs attr_accessor :mineral_cost_sum # @!attribute vespene_cost_sum # Sum of all morphs vespene gas cost # i.e. 250G Broodlord = 100G Corruptor + 150G Morph # @return [Integer] sum of vespene gas costs attr_accessor :vespene_cost_sum end end Api::UnitTypeData.include Api::UnitTypeDataExtension
Version data entries
4 entries across 4 versions & 1 rubygems