Spore ModAPI SDK for creating C++ mods for Spore
  1. Tutorials
  2. Namespaces
  1. Classes
  2. Files

ModAPI namespace
#include <Spore ModAPI/Spore/ModAPI.h>

Interaction with the ModAPI base DLLs.

Contents

  • Reference
    • Enums
    • Typedefs
    • Functions

Enums

enum class GameType { Disk = 0, March2017 = 1 }

Typedefs

using InitFunction = void(*)()

Functions

auto AddInitFunction(InitFunction) -> MODAPI void
auto AddPostInitFunction(InitFunction) -> MODAPI void
auto AddDisposeFunction(InitFunction) -> MODAPI void
auto Log(const char* fmt, ...) -> MODAPI void
auto AddSimulatorStrategy(Simulator::ISimulatorStrategy* strategy, uint32_t id) -> MODAPI bool
auto GetGameType() -> MODAPI GameType
auto GetMajorVersion() -> MODAPI int
auto GetMinorVersion() -> MODAPI int
auto GetBuildVersion() -> MODAPI int
auto ChooseAddress(uintptr_t disk, uintptr_t march2017) -> MODAPI uintptr_t
Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a : or / suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.

    Spore ModAPI SDK for creating C++ mods for Spore. Created with Doxygen 1.9.8 and m.css.