Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
BlockTypePalette.cpp File Reference
#include "Globals.h"
#include "BlockTypePalette.h"
#include "json/value.h"
#include "JsonUtils.h"
Include dependency graph for BlockTypePalette.cpp:

Go to the source code of this file.

Functions

static size_t findNextSeparator (const AString &aString, size_t aStartIdx=0)
 Returns the index into aString >= aStartIdx at which the next separator occurs. More...
 

Function Documentation

◆ findNextSeparator()

static size_t findNextSeparator ( const AString aString,
size_t  aStartIdx = 0 
)
static

Returns the index into aString >= aStartIdx at which the next separator occurs.

Separator is one of \t,
or \r. Returns AString::npos if no such separator.

Definition at line 13 of file BlockTypePalette.cpp.