Skip to content
nyfrk edited this page Aug 22, 2020 · 1 revision

ISettlers4Api::ClearSelection method

Clears the current selection.

Syntax

BOOL ISettlers4Api::ClearSelection();

Parameters

none

Return value

If this method could clear the selection successfully it will return TRUE. If an error occurred it will return FALSE.

Remarks

Note that selections are not synchronized over network. Therefore this does not append an event to the event queue.

Requirements

Minimum API Level 1
Target Edition Any
Header S4ModApi.h
Library S4ModApi.lib
DLL S4ModApi.dll

See also

ISettlers4Api

ISettlers4Api::RemoveSelection

ISettlers4Api::GetSelection

Clone this wiki locally