mirror of https://github.com/TaKO8Ki/gobang
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
326 B
Rust
15 lines
326 B
Rust
#[derive(Clone, PartialEq, PartialOrd, Ord, Eq)]
|
|
pub struct CommandText {
|
|
pub name: String,
|
|
pub desc: &'static str,
|
|
pub group: &'static str,
|
|
pub hide_help: bool,
|
|
}
|
|
pub struct CommandInfo {
|
|
pub text: CommandText,
|
|
pub enabled: bool,
|
|
pub quick_bar: bool,
|
|
pub available: bool,
|
|
pub order: i8,
|
|
}
|