Skip to content
Snippets Groups Projects

Add func to replays

Merged Edvin Bergström requested to merge add_func_to_replays into master
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
@@ -25,6 +25,14 @@ IDAReplayObserver
call the parent's on_game_start method in order to make it work (see
:ref:`replays`).
.. method:: IDAReplayObserver.on_unit_created(self)
This method is called when the an unit is created, that includes when an unit leaves a refinery.
.. method:: IDAReplayObserver.on_unit_destroyed(self)
This unit is called when a unit is destroyed.
Methods:
.. method:: IDAReplayObserver.get_all_units(self) -> List[library.ReplayUnit]
Loading