MCImmutableStringReader
Link to mcimmutablestringreader
导入类
Link to 导入类
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.
ZenScript Copyimport crafttweaker.api.commands.custom.MCImmutableStringReader;
使用方式
Link to 使用方式
Name: canRead
Return Type: boolean
ZenScript Copy// MCImmutableStringReader.canRead() as boolean
myMCImmutableStringReader.canRead();
Name: canRead
Return Type: boolean
ZenScript CopyMCImmutableStringReader.canRead(arg0 as int) as boolean
参数 | 类型 | 描述 |
---|---|---|
参数 arg0 | 类型 int | 描述 No Description Provided |
Name: getCursor
Return Type: int
ZenScript Copy// MCImmutableStringReader.getCursor() as int
myMCImmutableStringReader.getCursor();
Name: getRead
Return Type: string
ZenScript Copy// MCImmutableStringReader.getRead() as string
myMCImmutableStringReader.getRead();
Name: getRemaining
Return Type: string
ZenScript Copy// MCImmutableStringReader.getRemaining() as string
myMCImmutableStringReader.getRemaining();
Name: getRemainingLength
Return Type: int
ZenScript Copy// MCImmutableStringReader.getRemainingLength() as int
myMCImmutableStringReader.getRemainingLength();
Name: getString
Return Type: string
ZenScript Copy// MCImmutableStringReader.getString() as string
myMCImmutableStringReader.getString();
Name: getTotalLength
Return Type: int
ZenScript Copy// MCImmutableStringReader.getTotalLength() as int
myMCImmutableStringReader.getTotalLength();
Name: peek
Return Type: char
ZenScript Copy// MCImmutableStringReader.peek() as char
myMCImmutableStringReader.peek();
Name: peek
Return Type: char
ZenScript CopyMCImmutableStringReader.peek(arg0 as int) as char
参数 | 类型 | 描述 |
---|---|---|
参数 arg0 | 类型 int | 描述 No Description Provided |