Skip to content
Snippets Groups Projects
Commit 4405a9d1 authored by David Bergström's avatar David Bergström
Browse files

Add code for supporting sc2::ABILITY_ID in Python

parent 2b983ec5
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,12 @@ PYBIND11_MODULE(library, m)
py::implicitly_convertible<sc2::UPGRADE_ID, sc2::UpgradeID>();
py::class_<sc2::AbilityID>(m, "AbilityID")
.def(py::init<sc2::ABILITY_ID>());
py::implicitly_convertible<sc2::ABILITY_ID, sc2::AbilityID>();
py::implicitly_convertible<sc2::AbilityID, sc2::ABILITY_ID>();
py::class_<sc2::Agent>(m, "Agent")
.def(py::init());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment