/* * This file is part of laurelin_client * Copyright (C) 2023 Jonni Liljamo * * Licensed under GPL-3.0-only. * See LICENSE for licensing information. */ use bevy::prelude::*; mod req_login; pub use req_login::LoginCallEvent; mod req_register; pub use req_register::RegisterCallEvent; pub struct AsyncTasksPlugin; impl Plugin for AsyncTasksPlugin { fn build(&self, app: &mut App) { app .add_event::() .add_event::() .add_systems( ( req_login::start_call, req_login::handle_call, req_register::start_call, req_register::handle_call, ).chain() ); } }