C# Класс fCraft.Command

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
IsConfirmed bool
RawMessage string

Открытые методы

Метод Описание
Clone ( ) : object

Creates a copy of this command. Use the copy constructor instead of this, if possible.

Command ( [ other ) : System

Creates a copy of an existing command.

NextBlockWithParam ( [ player, int &param ) : Block
Rewind ( ) : void

Resets the argument offset. After calling Rewind, arguments can be read from the beginning again.

ToString ( ) : string

Приватные методы

Метод Описание
Next ( ) : string
NextAll ( ) : string
NextBlock ( [ player ) : Block
NextInt ( int &number ) : bool

Описание методов

Clone() публичный Метод

Creates a copy of this command. Use the copy constructor instead of this, if possible.
public Clone ( ) : object
Результат object

Command() публичный Метод

Creates a copy of an existing command.
public Command ( [ other ) : System
other [
Результат System

NextBlockWithParam() публичный Метод

public NextBlockWithParam ( [ player, int &param ) : Block
player [
param int
Результат Block

Rewind() публичный Метод

Resets the argument offset. After calling Rewind, arguments can be read from the beginning again.
public Rewind ( ) : void
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

IsConfirmed публичное свойство

public bool IsConfirmed
Результат bool

RawMessage публичное свойство

public string RawMessage
Результат string