Enum usiagent::event::SystemEvent [−][src]
pub enum SystemEvent {
Usi,
IsReady,
SetOption(String, SysEventOption),
UsiNewGame,
Position(Teban, UsiInitialPosition, u32, Vec<Move>),
Go(UsiGo),
Stop,
PonderHit,
Quit,
GameOver(GameEndState),
SendUsiCommand(UsiOutput),
QuitReady,
}
Expand description
システムイベント
Variants
usiコマンド受信イベント
isreadyコマンド受信イベント
SetOption(String, SysEventOption)
setoptionコマンド受信イベント
Tuple Fields of SetOption
0: String
1: SysEventOption
usinewgameコマンド受信イベント
Position(Teban, UsiInitialPosition, u32, Vec<Move>)
positionコマンド受信イベント
Tuple Fields of Position
Go(UsiGo)
goコマンド受信イベント
Tuple Fields of Go
0: UsiGo
stopコマンド受信イベント
ponderhitコマンド受信イベント
quitコマンド受信イベント
GameOver(GameEndState)
gomeoverコマンド受信イベント
Tuple Fields of GameOver
0: GameEndState
SendUsiCommand(UsiOutput)
USIコマンド送信要求
Tuple Fields of SendUsiCommand
0: UsiOutput
終了