15 lines
404 B
Rust
15 lines
404 B
Rust
use image::RgbImage;
|
|
|
|
/// Represents an alliance with a unique ID, name, short name and logo.
|
|
#[derive(Debug, Clone)]
|
|
pub struct Alliance {
|
|
/// The unique ID of the alliance.
|
|
pub alliance_id: u32,
|
|
/// The name of the alliance.
|
|
pub name: String,
|
|
/// The short name of the alliance.
|
|
pub short: String,
|
|
/// The logo image of the alliance in RGB format.
|
|
pub logo: RgbImage,
|
|
}
|