17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
|
# File 'lib/sc2ai/protocol/raw_pb.rb', line 17899
def to_h
result = {}
resolved_target = self.target
result[:"ability_id"] = @ability_id
result[
:"target_world_space_pos"
] = @target_world_space_pos.to_h if resolved_target ==
:"target_world_space_pos"
result[:"target_unit_tag"] = @target_unit_tag if resolved_target ==
:"target_unit_tag"
result[:"unit_tags"] = @unit_tags
result[:"queue_command"] = @queue_command
result
end
|