MCPcopy Create free account

hub / github.com/Tencent/TStarBot2 / functions

Functions927 in github.com/Tencent/TStarBot2

↓ 3 callersMethodupdate
(self, obs_mgr, act_mgr)
tstarbot/sandbox/resource_mgr.py:41
↓ 2 callersMethod__init__
(self)
tstarbot/sandbox/resource_mgr_old2.py:112
↓ 2 callersMethod__init__
(self)
tstarbot/sandbox/resource_mgr.py:38
↓ 2 callersMethod_calculate_distances
(self, x1, y1, x2, y2)
tstarbot/data/pool/worker_pool.py:235
↓ 2 callersMethod_can_use_pos_predef
(self, dc, cs, unit_type)
tstarbot/building/placer.py:418
↓ 2 callersMethod_check_in_base_range
(self)
tstarbot/scout/tasks/explor_task.py:234
↓ 2 callersMethod_command_army_defend
(self, cmd_queue)
tstarbot/combat_strategy/combat_strategy_mgr.py:319
↓ 2 callersMethod_command_army_reform
(self, cmd_queue, food_trigger, retreat_food, all_in)
tstarbot/combat_strategy/combat_strategy_mgr.py:408
↓ 2 callersMethod_create_queen_squads
(self)
tstarbot/combat_strategy/combat_strategy_mgr.py:222
↓ 2 callersMethod_create_zergling_squads
(self)
tstarbot/combat_strategy/combat_strategy_mgr.py:228
↓ 2 callersMethod_detect_attack
(self)
tstarbot/scout/tasks/scout_task.py:63
↓ 2 callersMethod_estimate_enemy_army_power
(self)
tstarbot/combat_strategy/combat_strategy_mgr.py:645
↓ 2 callersMethod_find_closest_enemy_to_pos
(self, pos, enemies)
tstarbot/combat_strategy/combat_strategy_mgr.py:828
↓ 2 callersMethod_find_enemy_combat_units
(emeny_units)
tstarbot/combat_strategy/combat_strategy_mgr.py:881
↓ 2 callersMethod_find_rand_pos
(self, dc, cs)
tstarbot/building/placer.py:313
↓ 2 callersMethod_find_rand_rim_pos
(self, dc, cs)
tstarbot/building/placer.py:329
↓ 2 callersMethod_find_rand_rim_pos
(self, dc, cs)
tstarbot/building/placer.py:464
↓ 2 callersMethod_find_rand_rim_pos
(self, dc, cs)
tstarbot/building/placer.py:755
↓ 2 callersMethod_get_main_base_pos
(self)
tstarbot/combat_strategy/combat_strategy_mgr.py:837
↓ 2 callersMethod_get_second_base_pos
(self)
tstarbot/combat_strategy/combat_strategy_mgr.py:841
↓ 2 callersMethod_get_slope_up_pos
(self, base_pos, offset_fac)
tstarbot/combat_strategy/combat_strategy_mgr.py:868
↓ 2 callersMethod_get_workerset_by_state
(self, state)
tstarbot/data/pool/worker_pool.py:241
↓ 2 callersMethod_harvest_on_extractor
(self, worker, extractor)
tstarbot/resource/resource_mgr.py:345
↓ 2 callersMethod_harvest_on_first_unfilled_base
(self, worker, bases)
tstarbot/resource/resource_mgr.py:317
↓ 2 callersMethod_harvest_on_first_unfilled_extractor
(self, worker, extractors)
tstarbot/resource/resource_mgr.py:325
↓ 2 callersMethod_judge_worker_status
(self, u)
tstarbot/data/pool/worker_pool.py:180
↓ 2 callersMethod_make_base_coord_system
(self, base_instance, dc)
tstarbot/building/placer.py:300
↓ 2 callersMethod_mutalisk_harass
(self, cmd_queue, mutalisk_uniform, harass_station_pos1, harass_station_pos2)
tstarbot/combat_strategy/combat_strategy_mgr.py:685
↓ 2 callersMethod_update_base_unit
(self, bases)
tstarbot/data/pool/base_pool.py:355
↓ 2 callersMethod_update_egg_unit
(self, eggs)
tstarbot/data/pool/base_pool.py:583
↓ 2 callersMethod_update_larva_unit
(self, larvas)
tstarbot/data/pool/base_pool.py:544
↓ 2 callersMethod_update_mineral_unit
clear current mineral record
tstarbot/data/pool/base_pool.py:423
↓ 2 callersMethod_update_queen_unit
(self, queens)
tstarbot/data/pool/base_pool.py:508
↓ 2 callersMethod_update_resource_for_base
(self)
tstarbot/data/pool/base_pool.py:377
↓ 2 callersMethod_update_vb_unit
(self, vbs)
tstarbot/data/pool/base_pool.py:472
↓ 2 callersMethod_update_vespene_unit
(self, vespenes)
tstarbot/data/pool/base_pool.py:448
↓ 2 callersMethod_update_worker_for_base
(self)
tstarbot/data/pool/base_pool.py:389
↓ 2 callersFunctionact_build_by_tag
(builder_tag, target_tag, ability_id)
tstarbot/util/act.py:14
↓ 2 callersFunctionact_stop
(unit_tag)
tstarbot/sandbox/resource_mgr_old3.py:106
↓ 2 callersFunctionact_stop
(unit_tag)
tstarbot/util/act.py:61
↓ 2 callersFunctionact_worker_harvests_on_target
(target_tag, worker_tag)
tstarbot/sandbox/resource_mgr_old2.py:83
↓ 2 callersFunctionact_worker_harvests_on_target
(target_tag, worker_tag)
tstarbot/sandbox/resource_mgr_old3.py:85
↓ 2 callersFunctionact_worker_harvests_on_target
(target_tag, worker_tag)
tstarbot/util/act.py:40
↓ 2 callersMethodattack_target
(u, target)
tstarbot/combat/micro/micro_base.py:64
↓ 2 callersMethodburrow_down
(u)
tstarbot/combat/micro/roach_micro.py:16
↓ 2 callersMethodburrow_up
(u)
tstarbot/combat/micro/lurker_micro.py:25
↓ 2 callersMethodburrow_up
(u)
tstarbot/combat/micro/roach_micro.py:23
↓ 2 callersMethodcal_square_dist
(u1, u2)
tstarbot/sandbox/agents/rule_micro_agent.py:140
↓ 2 callersMethodcan_fly
(unit_type)
tstarbot/combat/micro/micro_base.py:231
↓ 2 callersFunctioncollect_units
(units, unit_type, owner=1)
tstarbot/sandbox/resource_mgr.py:12
↓ 2 callersFunctioncompute_area_dist
distance from area.ideal_base_pos to pos
tstarbot/data/pool/map_tool.py:43
↓ 2 callersMethodcure_target
(u, target)
tstarbot/combat/micro/queen_micro.py:20
↓ 2 callersMethodcurr_arrived
(self, me_pos)
tstarbot/scout/tasks/scout_task.py:113
↓ 2 callersMethodcurr_pos
(self)
tstarbot/scout/tasks/scout_task.py:122
↓ 2 callersMethoddefault_act
(self, u, pos, mode)
tstarbot/combat/micro/micro_mgr.py:85
↓ 2 callersFunctiondist_to_pos
(unit, x, y)
tstarbot/sandbox/building_mgr.py:19
↓ 2 callersMethoddraw_circle
(self, color, world_pos, radias)
tstarbot/combat_strategy/renderer.py:29
↓ 2 callersMethodemploy_worker
(self, employ_status)
tstarbot/data/pool/worker_pool.py:48
↓ 2 callersMethodexe_micro
(self, u, pos, mode)
tstarbot/combat/combat_mgr.py:118
↓ 2 callersMethodexec_inner
(self, actions, raw_flag)
tstarbot/sandbox/act_executor.py:15
↓ 2 callersMethodexec_raw
(self, pb_actions)
tstarbot/sandbox/act_executor.py:9
↓ 2 callersMethodexpand_waiting_resource
(dc)
tstarbot/production_strategy/base_zerg_production_mgr.py:152
↓ 2 callersFunctionfind_by_tag
(units, tag)
tstarbot/sandbox/resource_mgr.py:24
↓ 2 callersMethodfind_closest_units_in_battle
(self, self_units, e)
tstarbot/combat/micro/micro_base.py:133
↓ 2 callersFunctionfind_knn
(units, unit, k=1)
tstarbot/sandbox/resource_mgr_old3.py:43
↓ 2 callersMethodfind_spare_building
(self, unit_type_list)
tstarbot/production_strategy/base_zerg_production_mgr.py:431
↓ 2 callersMethodfind_unit
(self, unit_type, alliance=1)
tstarbot/production_strategy/base_production_mgr.py:209
↓ 2 callersMethodfind_unit_by_tag
(self, tag)
tstarbot/production_strategy/base_production_mgr.py:188
↓ 2 callersMethodfind_weakest_nearby
(self, u, units, dist)
tstarbot/combat/micro/micro_base.py:172
↓ 2 callersMethodfind_weakest_unit
(self, u, units, dist)
tstarbot/combat/micro/queen_micro.py:28
↓ 2 callersMethodgenerate_path
(self, view_enemys, me, home_pos)
tstarbot/scout/tasks/scout_task.py:133
↓ 2 callersFunctionget_agent
(agt_path, config_path="")
tstarbot/bin/eval_agent.py:171
↓ 2 callersMethodget_atk_type
(self, unit_type)
tstarbot/combat/micro/micro_base.py:223
↓ 2 callersMethodget_center_of_units
(units)
tstarbot/combat/micro/micro_base.py:267
↓ 2 callersMethodget_drones
(self)
tstarbot/data/demo_dc.py:36
↓ 2 callersMethodget_hatcherys
(self)
tstarbot/data/demo_dc.py:39
↓ 2 callersFunctionget_target_tag
(unit, idx=0)
tstarbot/sandbox/resource_mgr.py:31
↓ 2 callersMethodhas_enemy_main_base
(self)
tstarbot/data/pool/scout_pool.py:104
↓ 2 callersFunctionhas_order
(unit)
tstarbot/sandbox/resource_mgr_old2.py:66
↓ 2 callersFunctionhas_order
(unit)
tstarbot/sandbox/resource_mgr_old3.py:68
↓ 2 callersMethodis_empty
(self)
tstarbot/production_strategy/util.py:87
↓ 2 callersMethodis_last_pos
(self)
tstarbot/scout/tasks/scout_task.py:129
↓ 2 callersMethodis_lost
(self)
tstarbot/data/pool/scout_pool.py:25
↓ 2 callersFunctionlist_mean
(l)
tstarbot/util/geom.py:28
↓ 2 callersFunctionload_agent
(path, config)
tstarbot/sandbox/battle_1v1.py:282
↓ 2 callersMethodmin_dist
(self, unit, mtags, gtags, all_minerals, all_gas)
tstarbot/data/pool/base_pool.py:230
↓ 2 callersMethodnext_pos
(self)
tstarbot/scout/tasks/scout_task.py:125
↓ 2 callersMethodplay
(self)
tstarbot/sandbox/battle_1v1.py:119
↓ 2 callersFunctionprint_harvester
(units, name='')
tstarbot/sandbox/resource_mgr_old2.py:75
↓ 2 callersFunctionprint_harvester
(units, name='')
tstarbot/sandbox/resource_mgr_old3.py:77
↓ 2 callersFunctionprint_harvester
(units, name='')
tstarbot/resource/resource_mgr.py:66
↓ 2 callersMethodregister_agent
(self, agents)
tstarbot/sandbox/battle_1v1.py:140
↓ 2 callersMethodremove_current_item
(self)
tstarbot/production_strategy/util.py:96
↓ 2 callersMethodreset
(self)
tstarbot/sandbox/resource_mgr_old2.py:118
↓ 2 callersMethodreset
(self)
tstarbot/sandbox/agents/rule_micro_agent.py:159
↓ 2 callersMethodselect_scout
(self)
tstarbot/data/pool/scout_pool.py:169
↓ 2 callersMethodset_lost
(self, lost)
tstarbot/data/pool/scout_pool.py:22
↓ 2 callersMethodset_lost
(self, lost)
tstarbot/data/pool/combat_pool.py:42
↓ 2 callersFunctionsort_units_by_distance
(units, unit)
tstarbot/util/unit.py:72
↓ 2 callersFunctiontest_multi_player
(agents, disable_fog)
tstarbot/sandbox/py_multiplayer.py:59
← previousnext →101–200 of 927, ranked by callers