Crate veloren_plugin_api[][src]

Re-exports

pub extern crate common;
pub use event::*;

Modules

errors
event

This module contains all events from the api

Structs

Health
Uid

Enums

Action

The Action enum represents a push modification that will be made in the ECS in the next tick Note that all actions when sent are async and will not be executed in order like Retrieve that are sync. All actions sent will be executed in the send order in the ticking before the rest of the logic applies.

EcsAccessError
GameMode

A resource that indicates what mode the local game is being played in.

Retrieve

The Retrieve enum represents read of the ECS is sync and blocking. This enum shouldn’t be used by itself. You should always prefer get methods on Plugin API Types For instance, prefer this method:

RetrieveError
RetrieveResult

The RetrieveResult struct is generated while using the retrieve_action function

Traits

Event

This trait is implement by all events and ensure type safety of FFI.