Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/TStarBot2
/ functions
Functions
927 in github.com/Tencent/TStarBot2
⨍
Functions
927
◇
Types & classes
123
↓ 1 callers
Method
_get_slope_to_xy
(self, xy)
tstarbot/combat_strategy/combat_strategy_mgr.py:856
↓ 1 callers
Method
_get_zergling_6pos
(self, closest_enemy, base_pos, r=6)
tstarbot/combat_strategy/combat_strategy_mgr.py:747
↓ 1 callers
Method
_init_base
(self, units)
tstarbot/data/pool/base_pool.py:313
↓ 1 callers
Method
_init_config
(self, dc)
tstarbot/production_strategy/base_production_mgr.py:25
↓ 1 callers
Method
_init_config
(self, dc)
tstarbot/scout/scout_mgr.py:44
↓ 1 callers
Method
_init_config
(self, dc)
tstarbot/resource/resource_mgr.py:148
↓ 1 callers
Method
_init_config
(self, dc)
tstarbot/building/building_mgr.py:113
↓ 1 callers
Method
_init_config
(self, dc)
tstarbot/combat_strategy/combat_strategy_mgr.py:100
↓ 1 callers
Method
_init_config
(self, cfg)
tstarbot/agents/zerg_agent.py:46
↓ 1 callers
Method
_init_home_pos
(self)
tstarbot/data/pool/scout_pool.py:271
↓ 1 callers
Method
_init_scout_base_target
(self)
tstarbot/data/pool/scout_pool.py:279
↓ 1 callers
Method
_is_combat_unit
(u)
tstarbot/data/pool/combat_pool.py:105
↓ 1 callers
Method
_is_enemy_unit
(self, u)
tstarbot/data/pool/enemy_pool.py:169
↓ 1 callers
Method
_join_pb
(self, agent_race, interface)
tstarbot/sandbox/battle_1v1.py:168
↓ 1 callers
Method
_judge_task_done
(self)
tstarbot/scout/tasks/explor_task_rl.py:194
↓ 1 callers
Method
_launch_gamecores
(self)
tstarbot/sandbox/battle_1v1.py:152
↓ 1 callers
Method
_leave_game
(self)
tstarbot/sandbox/battle_1v1.py:252
↓ 1 callers
Method
_load_maps
(self)
tstarbot/sandbox/battle_1v1.py:145
↓ 1 callers
Method
_locate_hatcherys
(self, units)
tstarbot/sandbox/agents/demo_bot.py:25
↓ 1 callers
Method
_locate_hatcherys
(self, units)
tstarbot/data/demo_dc.py:20
↓ 1 callers
Method
_make_base_coord_system
(self, base_instance, dc)
tstarbot/building/placer.py:405
↓ 1 callers
Method
_make_base_coord_system
(self, base_instance, dc)
tstarbot/building/placer.py:655
↓ 1 callers
Method
_make_base_tower_coord_system
(self, base_instance, dc)
tstarbot/building/placer.py:668
↓ 1 callers
Method
_play
(self)
tstarbot/sandbox/battle_1v1.py:211
↓ 1 callers
Method
_rebalance_workers
(self)
tstarbot/resource/resource_mgr.py:248
↓ 1 callers
Method
_remove_base
(self, bid)
tstarbot/data/pool/base_pool.py:373
↓ 1 callers
Method
_remove_egg_from_base
(self, tag)
tstarbot/data/pool/base_pool.py:606
↓ 1 callers
Method
_remove_extractor_if_not_exist
(self, all_extractor_tags)
tstarbot/sandbox/resource_mgr.py:101
↓ 1 callers
Method
_remove_extractor_if_not_exist
(self, all_extractor)
tstarbot/sandbox/resource_mgr.py:151
↓ 1 callers
Method
_remove_larva_from_base
(self, tag)
tstarbot/data/pool/base_pool.py:570
↓ 1 callers
Method
_remove_mineral_from_base
(self, tag)
tstarbot/data/pool/base_pool.py:443
↓ 1 callers
Method
_remove_queen_from_base
(self, tag)
tstarbot/data/pool/base_pool.py:531
↓ 1 callers
Method
_remove_vb_from_base
(self, tag)
tstarbot/data/pool/base_pool.py:495
↓ 1 callers
Method
_remove_vespene_from_base
(self, tag)
tstarbot/data/pool/base_pool.py:467
↓ 1 callers
Method
_remove_worker
(self, tag)
tstarbot/data/pool/worker_pool.py:175
↓ 1 callers
Method
_remove_workers_if_not_exist
(self, all_worker_tags)
tstarbot/sandbox/resource_mgr.py:106
↓ 1 callers
Method
_return_ports
(self)
tstarbot/sandbox/battle_1v1.py:164
↓ 1 callers
Method
_run_inner
(self, n)
tstarbot/sandbox/agents/rule_micro_agent.py:166
↓ 1 callers
Method
_run_inner
(self, n)
tstarbot/sandbox/agents/demo_bot.py:93
↓ 1 callers
Method
_save_game
(self)
tstarbot/sandbox/battle_1v1.py:268
↓ 1 callers
Method
_setup_game
(self)
tstarbot/sandbox/battle_1v1.py:178
↓ 1 callers
Method
_sort_target_unit_by_pos
(self)
tstarbot/scout/tasks/force_scout.py:136
↓ 1 callers
Method
_spawn_larva
(self, cmd, dc)
tstarbot/building/building_mgr.py:277
↓ 1 callers
Method
_update
(self, u)
tstarbot/data/pool/worker_pool.py:141
↓ 1 callers
Method
_update_all_scouts
(self, units)
tstarbot/data/pool/scout_pool.py:141
↓ 1 callers
Method
_update_base
(self, units)
tstarbot/data/pool/base_pool.py:343
↓ 1 callers
Method
_update_base_instance
(self)
tstarbot/resource/resource_mgr.py:174
↓ 1 callers
Method
_update_building
(self, units)
tstarbot/data/pool/building_pool.py:50
↓ 1 callers
Method
_update_config
(self, dc)
tstarbot/sandbox/resource_mgr_old2.py:222
↓ 1 callers
Method
_update_config
(self, dc)
tstarbot/sandbox/resource_mgr_old3.py:186
↓ 1 callers
Method
_update_data
(self, dc)
tstarbot/sandbox/resource_mgr_old3.py:193
↓ 1 callers
Method
_update_data
(self, dc)
tstarbot/resource/resource_mgr.py:153
↓ 1 callers
Method
_update_drone
(self, units)
tstarbot/sandbox/agents/demo_bot.py:30
↓ 1 callers
Method
_update_drone
(self, units)
tstarbot/data/demo_dc.py:28
↓ 1 callers
Method
_update_gas_worker
(self, u)
tstarbot/data/pool/worker_pool.py:151
↓ 1 callers
Method
_update_harvest_gas
(self)
tstarbot/sandbox/resource_mgr_old2.py:229
↓ 1 callers
Method
_update_harvest_gas
(self, cur_all_extractors, cur_all_workers)
tstarbot/sandbox/resource_mgr.py:218
↓ 1 callers
Method
_update_harvest_mineral
(self)
tstarbot/sandbox/resource_mgr_old2.py:243
↓ 1 callers
Method
_update_harvest_mineral
(self)
tstarbot/sandbox/resource_mgr.py:242
↓ 1 callers
Method
_update_idle_workers
(self)
tstarbot/resource/resource_mgr.py:293
↓ 1 callers
Method
_update_local_base
(self, base_instance)
tstarbot/resource/resource_mgr.py:183
↓ 1 callers
Method
_update_local_extractors
(self, base_instance)
tstarbot/resource/resource_mgr.py:215
↓ 1 callers
Method
_update_num_workers
(self, all_workers)
tstarbot/sandbox/resource_mgr.py:156
↓ 1 callers
Method
_update_worker
(self, u)
tstarbot/data/pool/worker_pool.py:165
↓ 1 callers
Function
act_move_to_pos
(unit_tag, target_pos)
tstarbot/util/act.py:31
↓ 1 callers
Function
act_stop
(unit_tag)
tstarbot/sandbox/resource_mgr_old2.py:104
↓ 1 callers
Method
act_worker_harvests_on_extractor
(self, extractor_tag, worker_tag)
tstarbot/sandbox/resource_mgr.py:162
↓ 1 callers
Method
action_transfer
(self, action)
tstarbot/scout/tasks/explor_task_rl.py:208
↓ 1 callers
Method
add_upgrade
(self, dc)
tstarbot/production_strategy/base_production_mgr.py:271
↓ 1 callers
Method
analysis
(self, dc)
tstarbot/scout/oppo_monitor.py:20
↓ 1 callers
Method
analysis_opening_tactis
(self, scouts)
tstarbot/scout/oppo_monitor.py:53
↓ 1 callers
Method
attack_weakest_enemy
(self, u)
tstarbot/sandbox/agents/rule_micro_agent.py:96
↓ 1 callers
Method
attack_weakest_enemy
(self, u, enemies)
tstarbot/combat/micro/micro_base.py:96
↓ 1 callers
Method
blinding_cloud_attack_pos
(u, pos)
tstarbot/combat/micro/viper_micro.py:21
↓ 1 callers
Method
build_place
(self, base_x, base_y, unit_type)
tstarbot/sandbox/building_mgr.py:117
↓ 1 callers
Method
burrow_down
(u)
tstarbot/combat/micro/lurker_micro.py:17
↓ 1 callers
Method
calculate_avg
(self)
tstarbot/data/pool/base_pool.py:47
↓ 1 callers
Method
can_atk
(self, src, dst)
tstarbot/combat/micro/micro_base.py:237
↓ 1 callers
Method
can_build
(self, build_item, data_context)
tstarbot/production_strategy/base_production_mgr.py:283
↓ 1 callers
Method
can_build_base
(self, x, y, m_pos)
tstarbot/data/pool/base_pool.py:299
↓ 1 callers
Method
check_end
(self, view_enemys, dc)
tstarbot/scout/tasks/scout_task.py:84
↓ 1 callers
Method
check_supply
(self)
tstarbot/production_strategy/base_production_mgr.py:191
↓ 1 callers
Method
clear
(self)
tstarbot/data/queue/combat_command_queue.py:57
↓ 1 callers
Method
clear_all
(self)
tstarbot/production_strategy/util.py:120
↓ 1 callers
Method
collect_drones
(self, units)
tstarbot/data/demo_dc.py:148
↓ 1 callers
Method
collect_enemy_units
(self, units)
tstarbot/data/demo_dc.py:242
↓ 1 callers
Method
collect_extractor
(self, units)
tstarbot/data/demo_dc.py:195
↓ 1 callers
Method
collect_hatcheries
(self, units)
tstarbot/data/demo_dc.py:156
↓ 1 callers
Method
collect_hydralisk
(self, units)
tstarbot/data/demo_dc.py:234
↓ 1 callers
Method
collect_hydraliskden
(self, units)
tstarbot/data/demo_dc.py:226
↓ 1 callers
Method
collect_larvas
(self, units)
tstarbot/data/demo_dc.py:171
↓ 1 callers
Method
collect_marine
(self, units)
tstarbot/sandbox/agents/rule_micro_agent.py:39
↓ 1 callers
Method
collect_marine
(self, units)
tstarbot/data/demo_dc.py:60
↓ 1 callers
Method
collect_minerals
(self, units)
tstarbot/data/demo_dc.py:164
↓ 1 callers
Method
collect_queen
(self, units)
tstarbot/data/demo_dc.py:179
↓ 1 callers
Method
collect_roach
(self, units)
tstarbot/sandbox/agents/rule_micro_agent.py:47
↓ 1 callers
Method
collect_roach
(self, units)
tstarbot/data/demo_dc.py:68
↓ 1 callers
Method
collect_roaches
(self, units)
tstarbot/data/demo_dc.py:218
↓ 1 callers
Method
collect_roachwarren
(self, units)
tstarbot/data/demo_dc.py:210
↓ 1 callers
Method
collect_spawningpool
(self, units)
tstarbot/data/demo_dc.py:187
← previous
next →
301–400 of 927, ranked by callers