|
delegate void | HasFiltered (bool filtered) |
| This delegate is called when the Search has filtered some items. More...
|
|
void | OnDisable () |
|
virtual void | SearchStart () |
| Starts the search using whatever text is in the search bar. More...
|
|
void | StopSearch (bool isPaused=false) |
| Stops any running searches. Safe to call when there are no running searches. Parameter indicates if the search appears "stopped" (search background becomes white) or "paused" (search background stays green to appear "active"). More...
|
|
bool KSP.UI.Screens.CraftSearch.CraftMatchesSearch |
( |
CraftEntry |
craft, |
|
|
string |
searchTerm |
|
) |
| |
|
inlineprotected |
delegate void KSP.UI.Screens.CraftSearch.HasFiltered |
( |
bool |
filtered | ) |
|
This delegate is called when the Search has filtered some items.
void KSP.UI.Screens.CraftSearch.OnDisable |
( |
| ) |
|
|
inline |
void KSP.UI.Screens.CraftSearch.SearchField_OnClick |
( |
PointerEventData |
eventData | ) |
|
|
inlineprotected |
void KSP.UI.Screens.CraftSearch.SearchField_OnEndEdit |
( |
string |
s | ) |
|
|
inlineprotected |
void KSP.UI.Screens.CraftSearch.SearchField_OnValueChange |
( |
string |
s | ) |
|
|
inlineprotected |
IEnumerator KSP.UI.Screens.CraftSearch.SearchRoutine |
( |
| ) |
|
|
inlineprotected |
virtual void KSP.UI.Screens.CraftSearch.SearchStart |
( |
| ) |
|
|
inlinevirtual |
Starts the search using whatever text is in the search bar.
void KSP.UI.Screens.CraftSearch.StopSearch |
( |
bool |
isPaused = false | ) |
|
|
inline |
Stops any running searches. Safe to call when there are no running searches. Parameter indicates if the search appears "stopped" (search background becomes white) or "paused" (search background stays green to appear "active").
Add a method that needs to know if even a single item was filtered.
const string KSP.UI.Screens.CraftSearch.SEARCH_FIELD_CONTROLLOCK_ID = "CraftSearchFieldTextInput" |
Image KSP.UI.Screens.CraftSearch.searchFieldBackground |
|
protected |
Coroutine KSP.UI.Screens.CraftSearch.searchRoutine |
|
protected |
float KSP.UI.Screens.CraftSearch.searchTimer = 0f |
|
protected |
The documentation for this class was generated from the following file: