yog-event 0.9.4

Yog event system — pub/sub for game/server events.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Advancements: the host's actions.

use yog_ids as ids;

actions! {
    /// Grants advancement `id` to a player.
    Grant { uuid: String, id: String } -> bool = ids::service_advancement::GRANT, "YogAdvancementActions.advancementGrant";
    /// Whether a player has advancement `id`.
    Done { uuid: String, id: String } -> bool = ids::service_advancement::DONE, "YogAdvancementActions.advancementDone";
}