BurnySc2 / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
509 stars 157 forks source link

WIP: Make unit objects persistent and use a database for managing units #60

Closed BurnySc2 closed 4 years ago

BurnySc2 commented 4 years ago

Disable placeholders Make use of sqlite3 to store all units Add update function to unit objects Use Unit object for Blips (dots detected by sensor tower)

BurnySc2 commented 4 years ago

Closing as I don't think there is an easy way to make Unit objects mutable without completely redoing the Units and Unit object.

Even with using sqlite databases to gain speed, the overhead checks make it overall as fast or even slower if you want to save more fields in the database.