OpenTTD Source: NetworkChatAutoCompletion Class Reference

OpenTTD Source 15.3

Public Member Functions | Private Member Functions
NetworkChatAutoCompletion Class Referencefinal
Inheritance diagram for NetworkChatAutoCompletion:

## Public Member Functions
| AutoCompletion (Textbuf *textbuf)
Public Member Functions inherited from AutoCompletion
| AutoCompletion (Textbuf *textbuf)
bool | AutoComplete ()
void | Reset ()

## Private Member Functions
std::vector< std::string > | GetSuggestions (std::string_view prefix, std::string_view query) override
void | ApplySuggestion (std::string_view prefix, std::string_view suggestion) override

## Additional Inherited Members
Protected Attributes inherited from AutoCompletion
Textbuf * | textbuf

## Detailed Description

Definition at line 263 of file network_chat_gui.cpp.

## Member Function Documentation

## ◆ ApplySuggestion()

void NetworkChatAutoCompletion::ApplySuggestion | ( | std::string_view | prefix,
|  | std::string_view | suggestion
| ) |  |
| inlineoverrideprivatevirtual

Implements AutoCompletion.

Definition at line 286 of file network_chat_gui.cpp.

## ◆ AutoCompletion()

AutoCompletion::AutoCompletion | ( | Textbuf * | textbuf | ) |
| inline

Definition at line 29 of file autocompletion.h.

## ◆ GetSuggestions()

std::vector< std::string > NetworkChatAutoCompletion::GetSuggestions | ( | std::string_view | prefix,
|  | std::string_view | query
| ) |  |
| inlineoverrideprivatevirtual

Implements AutoCompletion.

Definition at line 268 of file network_chat_gui.cpp.

The documentation for this class was generated from the following file:

- src/network/network_chat_gui.cpp