Enum vault::CmdType
[−]
[src]
pub enum CmdType {
CMD_DefaultAction,
CMD_Stop,
CMD_Destroy,
CMD_BuildSquad,
CMD_InstantBuildSquad,
CMD_CancelProduction,
CMD_BuildStructure,
CMD_Move,
CMD_Face,
CMD_Attack,
CMD_AttackMove,
CMD_RallyPoint,
CMD_Capture,
CMD_Ability,
CMD_Evacuate,
CMD_Upgrade,
CMD_InstantUpgrade,
CMD_ChooseResource,
CMD_Load,
CMD_Unload,
CMD_UnloadSquads,
CMD_AttackStop,
CMD_AttackForced,
CMD_SetHoldHeading,
CMD_Halt,
CMD_Fidget,
CMD_Paradrop,
CMD_DefuseMine,
CMD_Casualty,
CMD_Death,
CMD_InstantDeath,
CMD_Projectile,
CMD_PlaceCharge,
CMD_BuildEntity,
CMD_RescueCasualty,
CMD_AttackFromHold,
CMD_Vault,
CMD_COUNT,
SCMD_Move,
SCMD_Stop,
SCMD_Destroy,
SCMD_BuildStructure,
SCMD_Capture,
SCMD_Attack,
SCMD_ReinforceUnit,
SCMD_Upgrade,
SCMD_CancelProduction,
SCMD_AttackMove,
SCMD_Ability,
SCMD_Load,
SCMD_InstantLoad,
SCMD_UnloadSquads,
SCMD_Unload,
SCMD_SlotItemRemove,
SCMD_Retreat,
SCMD_CaptureTeamWeapon,
SCMD_SetMoveType,
SCMD_InstantReinforceUnit,
SCMD_InstantUpgrade,
SCMD_SetCamouflageStance,
SCMD_PlaceCharge,
SCMD_DefuseCharge,
SCMD_PickUpSlotItem,
SCMD_DefuseMine,
SCMD_DoPlan,
SCMD_Patrol,
SCMD_Surprise,
SCMD_InstantSetupTeamWeapon,
SCMD_AbandonTeamWeapon,
SCMD_StationaryAttack,
SCMD_RevertFieldSupport,
SCMD_Face,
SCMD_BuildSquad,
SCMD_RallyPoint,
SCMD_RescueCasualty,
SCMD_Recrew,
SCMD_Merge,
SCMD_Pilfer,
SCMD_COUNT,
PCMD_ConstructStructure,
PCMD_ManpowerDonation,
PCMD_FuelDonation,
PCMD_MunitionDonation,
PCMD_CheatResources,
PCMD_CheatRevealAll,
PCMD_CheatKillSelf,
PCMD_Ability,
PCMD_CheatBuildTime,
PCMD_CriticalHit,
PCMD_Upgrade,
PCMD_InstantUpgrade,
PCMD_ConstructFence,
PCMD_ConstructField,
PCMD_UpgradeRemove,
PCMD_SlotItemRemove,
PCMD_CancelProduction,
PCMD_DetonateCharges,
PCMD_AIPlayer,
PCMD_AIPlayer_ObjectiveNotification,
PCMD_SetCommander,
PCMD_Surrender,
PCMD_WaitObjectDone,
PCMD_BroadcastMessage,
PCMD_COUNT,
DCMD_DataCommand1,
DCMD_DataCommand2,
DCMD_COUNT,
}This type contains a numerical u8 representation of every command/action possible in a CoH2
command sequence. Contents of this enum provided by Relic Entertainment.
Variants
CMD_DefaultActionCMD_StopCMD_DestroyCMD_BuildSquadCMD_InstantBuildSquadCMD_CancelProductionCMD_BuildStructureCMD_MoveCMD_FaceCMD_AttackCMD_AttackMoveCMD_RallyPointCMD_CaptureCMD_AbilityCMD_EvacuateCMD_UpgradeCMD_InstantUpgradeCMD_ChooseResourceCMD_LoadCMD_UnloadCMD_UnloadSquadsCMD_AttackStopCMD_AttackForcedCMD_SetHoldHeadingCMD_HaltCMD_FidgetCMD_ParadropCMD_DefuseMineCMD_CasualtyCMD_DeathCMD_InstantDeathCMD_ProjectileCMD_PlaceChargeCMD_BuildEntityCMD_RescueCasualtyCMD_AttackFromHoldCMD_VaultCMD_COUNTSCMD_MoveSCMD_StopSCMD_DestroySCMD_BuildStructureSCMD_CaptureSCMD_AttackSCMD_ReinforceUnitSCMD_UpgradeSCMD_CancelProductionSCMD_AttackMoveSCMD_AbilitySCMD_LoadSCMD_InstantLoadSCMD_UnloadSquadsSCMD_UnloadSCMD_SlotItemRemoveSCMD_RetreatSCMD_CaptureTeamWeaponSCMD_SetMoveTypeSCMD_InstantReinforceUnitSCMD_InstantUpgradeSCMD_SetCamouflageStanceSCMD_PlaceChargeSCMD_DefuseChargeSCMD_PickUpSlotItemSCMD_DefuseMineSCMD_DoPlanSCMD_PatrolSCMD_SurpriseSCMD_InstantSetupTeamWeaponSCMD_AbandonTeamWeaponSCMD_StationaryAttackSCMD_RevertFieldSupportSCMD_FaceSCMD_BuildSquadSCMD_RallyPointSCMD_RescueCasualtySCMD_RecrewSCMD_MergeSCMD_PilferSCMD_COUNTPCMD_ConstructStructurePCMD_ManpowerDonationPCMD_FuelDonationPCMD_MunitionDonationPCMD_CheatResourcesPCMD_CheatRevealAllPCMD_CheatKillSelfPCMD_AbilityPCMD_CheatBuildTimePCMD_CriticalHitPCMD_UpgradePCMD_InstantUpgradePCMD_ConstructFencePCMD_ConstructFieldPCMD_UpgradeRemovePCMD_SlotItemRemovePCMD_CancelProductionPCMD_DetonateChargesPCMD_AIPlayerPCMD_AIPlayer_ObjectiveNotificationPCMD_SetCommanderPCMD_SurrenderPCMD_WaitObjectDonePCMD_BroadcastMessagePCMD_COUNTDCMD_DataCommand1DCMD_DataCommand2DCMD_COUNTMethods
impl CmdType[src]
fn from_u8(n: u8) -> Option<CmdType>
Converts a numerical representation of a CmdType enum into the correct enum value by
unsafely transmuting the numerical representation into the CmdType type.
Trait Implementations
impl Encodable for CmdType[src]
impl PartialEq for CmdType[src]
fn eq(&self, __arg_0: &CmdType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Clone for CmdType[src]
fn clone(&self) -> CmdType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more