Skip to content
Snippets Groups Projects
lib_replay_unit.cpp 193 B
Newer Older
  • Learn to ignore specific revisions
  • Rojikku98's avatar
    Rojikku98 committed
    #include "library.h"
    
    namespace py = pybind11;
    
    void define_replay_unit(py::module & m)
    {
        py::class_<UnitInformation>(m, "ReplayUnit")
    
    Rojikku98's avatar
    Rojikku98 committed
            .def_property_readonly("id", &Unit::getID);
    
    Rojikku98's avatar
    Rojikku98 committed
    }