-
Notifications
You must be signed in to change notification settings - Fork 5
S4MapInitProc
nyfrk edited this page Aug 22, 2020
·
1 revision
An application-defined or library-defined callback function used with the ISettlers4Api::AddMapInitListener method. The library calls this function whenever a map is loaded. It can be used to initialize your application for a new game.
The LPS4MAPINITCALLBACK type defines a pointer to this callback function.
HRESULT S4HCALL S4MapInitProc(
LPVOID lpReserved0,
LPVOID lpReserved1
);
lpReserved0
A parameter reserved for future use. Must be ignored.
lpReserved1
A parameter reserved for future use. Must be ignored.
Always return 0.
none
Minimum API Level | 1 |
Target Edition | Any |
Header | S4ModApi.h |
Library | S4ModApi.lib |
DLL | S4ModApi.dll |