Crate bevy_ads_common

Crate bevy_ads_common 

Source
Expand description

§Bevy Ads Common

Crates.io Documentation

Basic crate for Bevy game engine ads integration.

Provides a unified interface and data structures that other crates can implement to integrate with various ad networks. As part of this, it also provides a mockup implementation for testing purposes, which can be enabled by enabling the mockup feature.

§Licence

MIT OR Apache-2.0

Modules§

prelude

Structs§

AdsCommonPlugin
Basic plugin for managing ads. It provides a set of methods alongside a optional mockup ads implementation.

Enums§

AdMessage
Events that can be triggered by Ad system operations
AdType
Ad type description enum.
ParsingAdTypeError
Error type for parsing ad type.

Traits§

AdManager
Trait for managing ads system.

Functions§

write_event_to_queue
Write an event to the queue. In almost all cases this should be called only by the ads implementation plugin.