Skip to content
Snippets Groups Projects
Closed Exponera mer effektiva API för felsökning
  • View options
  • Exponera mer effektiva API för felsökning

  • View options
  • Closed Issue created by David Bergström

    Jag hittade följande API i SC2API: https://blizzard.github.io/s2client-api/classsc2_1_1_debug_interface.html

    Intressanta för reinforcement learning:

    virtual void 	DebugCreateUnit (UnitTypeID unit_type, const Point2D &p, uint32_t player_id=1, uint32_t count=1)=0
    virtual void 	DebugKillUnit (const Unit *unit)=0

    För återspelning av replays kanske:

    virtual void 	DebugShowMap ()=0

    För allmän debuggning / körning:

    virtual void 	DebugFastBuild ()=0 

    Om någon är intresserad av delar eller hela, skriv en kommenterar så vi vet!

    Edited by David Bergström

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading