![]() |
DDNet documentation
|
#include <editor_server_settings.h>
Public Member Functions | |
| CContextWithInput (CMapSettingsBackend *pBackend) | |
| void | Reset () override |
| Public Member Functions inherited from CMapSettingsBackend::CContext | |
| virtual | ~CContext ()=default |
| bool | CommandIsValid () const |
| int | CurrentArg () const |
| const char * | CurrentArgName () const |
| float | CurrentArgPos () const |
| size_t | CurrentArgOffset () const |
| const char * | CurrentArgValue () const |
| const std::vector< SPossibleValueMatch > & | PossibleMatches () const |
| bool | HasError () const |
| size_t | ErrorOffset () const |
| const char * | Error () const |
| int | ArgCount () const |
| const SCurrentSettingArg & | Arg (int Index) const |
| const std::shared_ptr< IMapSetting > & | Setting () const |
| void | SetFontSize (float FontSize) |
| int | CommentOffset () const |
| int | CheckCollision (ECollisionCheckResult &Result) const |
| int | CheckCollision (const std::vector< CEditorMapSetting > &vSettings, ECollisionCheckResult &Result) const |
| int | CheckCollision (const char *pInputString, const std::vector< CEditorMapSetting > &vSettings, ECollisionCheckResult &Result) const |
| void | Update () |
| void | UpdateFromString (const char *pStr) |
| bool | UpdateCursor (bool Force=false) |
| void | GetCommandHelpText (char *pStr, int Length) const |
| bool | Valid () const |
| void | ColorArguments (std::vector< STextColorSplit > &vColorSplits) const |
Public Attributes | |
| int | m_CommandSelectedIndex |
| CLineInputBuffered< 256 > | m_CommandInput |
| CListBox | m_ListBox |
| Public Attributes inherited from CMapSettingsBackend::CContext | |
| bool | m_AllowUnknownCommands |
| SEditBoxDropdownContext | m_DropdownContext |
| int | m_CurrentCompletionIndex |
|
inline |
|
overridevirtual |
Reimplemented from CMapSettingsBackend::CContext.
| CLineInputBuffered<256> CMapSettingsBackend::CContextWithInput::m_CommandInput |
| int CMapSettingsBackend::CContextWithInput::m_CommandSelectedIndex |
| CListBox CMapSettingsBackend::CContextWithInput::m_ListBox |