#[repr(i32)]pub enum PipeType {
Show 15 variants
ShipStaircase = 1,
ShipWalk = 2,
ShipLadder = 3,
SiegeLadder1 = 8,
Stairs = 9,
Rope = 10,
UnknownSambucaPipe = 11,
DoorNoTeleport = 13,
Jump = 14,
WallDoorTeleport = 30,
JumpRamp = 32,
LadderLeft = 33,
LadderRight = 34,
SiegeLadder2 = 35,
GroundTeleport = 38,
}Expand description
Type of pipe for unit movement.
Defines the movement behavior for a pipe. Different types handle different movement scenarios like stairs, ladders, doors, teleportation, etc.
§Variants by Use Case
§Naval Movement (Ships)
ShipStaircase- Movement through ship staircasesShipWalk- Walking movement on ships (unconfirmed)ShipLadder- Climbing ship ladders
§Wall Climbing
SiegeLadder1- Wall ladders in Empire/NapoleonSiegeLadder2- Wall ladders in Warhammer gamesRope- Rope climbing in Three Kingdoms
§Siege Equipment
LadderLeft- Left ladder in siege towersLadderRight- Right ladder in siege towersJumpRamp- Jumping from siege tower ramps
§Doors and Entry
DoorNoTeleport- Door threshold for garrisonable buildingsWallDoorTeleport- Teleport between ends (Warhammer walls)GroundTeleport- Barricade teleportation (Warhammer III)
§Other
Stairs- Interior wall stairs (Three Kingdoms)Jump- Jumping onto wallsUnknownSambucaPipe- Sambuca-related (Thrones of Britannia)
Variants§
ShipStaircase = 1
Ship staircase movement.
ShipWalk = 2
Ship walking movement (unconfirmed).
ShipLadder = 3
Ship ladder climbing.
SiegeLadder1 = 8
Wall climbing ladders (Empire/Napoleon).
Stairs = 9
Interior wall stairs (Three Kingdoms).
Rope = 10
Rope wall climbing (Three Kingdoms).
UnknownSambucaPipe = 11
Sambuca pipe (Thrones of Britannia).
DoorNoTeleport = 13
Door entry threshold for garrisonable buildings.
Jump = 14
Jumping onto walls (PT_JUMP).
WallDoorTeleport = 30
Teleportation between pipe ends (Warhammer walls, PT_WALL_DOOR).
JumpRamp = 32
Jumping from siege tower ramps to walls (PT_JUMP_RAMP).
LadderLeft = 33
Left ladder in siege towers.
LadderRight = 34
Right ladder in siege towers.
SiegeLadder2 = 35
Wall climbing ladders (Warhammer).
GroundTeleport = 38
Barricade teleportation (Warhammer III).
Trait Implementations§
impl Copy for PipeType
Source§impl<'de> Deserialize<'de> for PipeType
impl<'de> Deserialize<'de> for PipeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PipeType
Auto Trait Implementations§
impl Freeze for PipeType
impl RefUnwindSafe for PipeType
impl Send for PipeType
impl Sync for PipeType
impl Unpin for PipeType
impl UnsafeUnpin for PipeType
impl UnwindSafe for PipeType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.