-
Notifications
You must be signed in to change notification settings - Fork 5
RemoveSelection
nyfrk edited this page Aug 22, 2020
·
1 revision
Remove objects from the current selection. If you wish to remove all elements from the selection, consider calling ISettlers4Api::ClearSelection.
BOOL ISettlers4Api::RemoveSelection(
PWORD settlers,
SIZE_T settlerslen,
PSIZE_T removedCount
);
settlers
A buffer that receives the indices. If this parameter is NULL it is ignored the RemoveSelection will return FALSE.
settlerslen
The length of the buffer in elements.
removedCount
If this parameter is NULL it is ignored. Otherwise it will point to a SIZE_T that will receive the amount of elements that have been removed from the current selection.
If this method could modify the selection successfully it will return TRUE. If an error occurred it will return FALSE.
none
Minimum API Level | 1 |
Target Edition | Any |
Header | S4ModApi.h |
Library | S4ModApi.lib |
DLL | S4ModApi.dll |