Struct bwapi_wrapper::BWAPI_TournamentModule
source · #[repr(C)]pub struct BWAPI_TournamentModule {
pub vtable_: *const BWAPI_TournamentModule__bindgen_vtable,
}
Expand description
TournamentModule is a virtual class that is intended to be implemented or inherited by a custom Tournament class.
Like AIModule, the Broodwar interface is guaranteed to be initialized if any of these predefined interface functions are invoked by BWAPI.@note The TournamentModule is to be implemented by Tournament Modules ONLY. A standard AI module should never implement it. The Tournament Module is invoked only if it is explicitly defined in the configuration file. Tournament Modules also contain an AI Module interface so that it can monitor the time an AI module spent during its calls using Game::getLastEventTime.
@ingroup Interface
Fields§
§vtable_: *const BWAPI_TournamentModule__bindgen_vtable
Implementations§
Trait Implementations§
source§impl Debug for BWAPI_TournamentModule
impl Debug for BWAPI_TournamentModule
source§impl Hash for BWAPI_TournamentModule
impl Hash for BWAPI_TournamentModule
source§impl PartialEq for BWAPI_TournamentModule
impl PartialEq for BWAPI_TournamentModule
source§fn eq(&self, other: &BWAPI_TournamentModule) -> bool
fn eq(&self, other: &BWAPI_TournamentModule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BWAPI_TournamentModule
impl StructuralPartialEq for BWAPI_TournamentModule
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_TournamentModule
impl !Send for BWAPI_TournamentModule
impl !Sync for BWAPI_TournamentModule
impl Unpin for BWAPI_TournamentModule
impl UnwindSafe for BWAPI_TournamentModule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more