Lector de cadena MCImmutable

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

import crafttweaker.api.commands.custom.MCImmutableStringReader;

Methods

canRead

Return Type: boolean

MCImmutableStringReader.canRead() as boolean
myMCImmutableStringReader.canRead();

Return Type: boolean

MCImmutableStringReader.canRead(arg0 as int) as boolean
ParameterTypeDescription
arg0intNo Description Provided

getCursor

Return Type: int

MCImmutableStringReader.getCursor() as int
myMCImmutableStringReader.getCursor();

getRead

Return Type: string

MCImmutableStringReader.getRead() as string
myMCImmutableStringReader.getRead();

Obtener restante

Return Type: string

MCImmutableStringReader.getRemaining() as string
myMCImmutableStringReader.getRemaining();

getRestante de longitud

Return Type: int

MCImmutableStringReader.getRemainingLength() as int
myMCImmutableStringReader.getRemainingLength();

getString

Return Type: string

MCImmutableStringReader.getString() as string
myMCImmutableStringReader.getString();

getLongitud total

Return Type: int

MCImmutableStringReader.getTotalLength() as int
myMCImmutableStringReader.getTotalLength();

mirón

Return Type: char

MCImmutableStringReader.peek() as char
myMCImmutableStringReader.peek();

Return Type: char

MCImmutableStringReader.peek(arg0 as int) as char
ParameterTypeDescription
arg0intNo Description Provided