nurtex 1.2.1

Create efficient and lightweight Minecraft bots or clients.
Documentation
use uuid::Uuid;

use crate::bot::ClientInfo;

/// Структура профиля бота
#[derive(Debug, Clone, PartialEq)]
pub struct BotProfile {
  pub username: String,
  pub uuid: Uuid,
  pub information: ClientInfo,
}

impl BotProfile {
  /// Метод создания нового профиля
  pub fn new(username: String) -> Self {
    Self {
      username: username,
      uuid: Uuid::nil(),
      information: ClientInfo::default(),
    }
  }
}