Enum ark_api::applet::DetachPlayerTarget
source · pub enum DetachPlayerTarget {
World(String),
Server(ServerId),
Player(ExternalUserId),
}Expand description
Higher level equivalent of the DetachPlayerTargetType used to prevent misuse of the ffi api.
Duplicated in the module-host
Variants§
World(String)
Detach the player to a specific world. The string corresponds to the module/launch arguments of the world.
Server(ServerId)
Detach the player to a specific server
Player(ExternalUserId)
Detach the player to a specific player
Trait Implementations§
source§impl Clone for DetachPlayerTarget
impl Clone for DetachPlayerTarget
source§fn clone(&self) -> DetachPlayerTarget
fn clone(&self) -> DetachPlayerTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more