pub struct PokemonTrainerRange {
pub entry: LvdEntry,
pub boundary_min: Vector3,
pub boundary_max: Vector3,
pub trainers: Vec<Vector3>,
pub platform_name: String,
pub sub_name: String,
}
Expand description
The area of the stage where the Pokemon Trainer can run when attempting to follow the
player-controlled pokemon characters. Alternative to PokemonTrainerPlatform
, which instead
utilizes flying platforms due to not having a good location on the stage itself for them.
Fields§
§entry: LvdEntry
The generic object data (name, subname, etc)
boundary_min: Vector3
The lower bounds of the pokemon trainer area (usually the left side)
boundary_max: Vector3
The upper bounds of the pokemon trainer area (usually the right side)
trainers: Vec<Vector3>
A list of where all the trainers start when the match begins
platform_name: String
The name of the platform the pokemon trainer stands on. This is used to ensure the trainer continues to stay on that platform even if it rudely attempts to leave them.
sub_name: String
The subname of the platform the pokemon trainer stands on
Trait Implementations§
Source§impl BinRead for PokemonTrainerRange
impl BinRead for PokemonTrainerRange
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_options: &ReadOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read
Self
from the reader using the given ReadOptions
and
arguments.Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments.Source§impl BinWrite for PokemonTrainerRange
impl BinWrite for PokemonTrainerRange
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to write this type, usually a tuple. Read more
Source§fn write_options<W: Write + Seek>(
&self,
writer: &mut W,
options: &WriteOptions,
_: Self::Args,
) -> Result<(), Error>
fn write_options<W: Write + Seek>( &self, writer: &mut W, options: &WriteOptions, _: Self::Args, ) -> Result<(), Error>
Write the type to a writer, given the options on how to write it and the type-specific
arguments
Source§impl Debug for PokemonTrainerRange
impl Debug for PokemonTrainerRange
Auto Trait Implementations§
impl Freeze for PokemonTrainerRange
impl RefUnwindSafe for PokemonTrainerRange
impl Send for PokemonTrainerRange
impl Sync for PokemonTrainerRange
impl Unpin for PokemonTrainerRange
impl UnwindSafe for PokemonTrainerRange
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