Command (EM4)

Wir verwenden Cookies, um Inhalte und Anzeigen zu personalisieren, Dienste bereitzustellen und die Zugriffe auf unsere Website zu analysieren. Außerdem werden durch unsere Partner Informationen zu Ihrer Nutzung für soziale Medien, Werbung und Analysen erfasst. Weitere Informationen

  • Namensraum / Klasse "Command"

    Aufzählung der CommandGroups

    Quellcode

    1. enum CommandGroup
    2. {
    3. CGROUP_DEFAULT = 0,
    4. CGROUP_ARREST = 1,
    5. CGROUP_FIREHOSE = 2,
    6. CGROUP_CARRY_PERSON = 3,
    7. CGROUP_PULLING = 4,
    8. CGROUP_DLK_BASKET = 5,
    9. CGROUP_LIGHT = 6,
    10. CGROUP_CANNON_WAW = 7,
    11. CGROUP_DRAW_WEAPON = 8,
    12. CGROUP_INSTALL = 9,
    13. CGROUP_SEARCHLIGHT = 10,
    14. CGROUP_SHIPDROP = 11,
    15. CGROUP_UNLOADVEHICLE = 12,
    16. CGROUP_BUCKET = 13,
    17. CGROUP_DOG = 14,
    18. CGROUP_PICKUP = 15,
    19. CGROUP_CRANE = 16,
    20. CGROUP_GETEQUIPMENT = 100,
    21. };
    Alles anzeigen



    Aufzählung der CommandRestrictions

    Quellcode

    1. enum CommandRestriction
    2. {
    3. RESTRICT_NONE
    4. RESTRICT_LOCKED
    5. RESTRICT_USABLE
    6. RESTRICT_BULLDOZABLE
    7. RESTRICT_TRANSPORTABLE
    8. RESTRICT_ACCESSIBLE
    9. RESTRICT_COOLABLE
    10. RESTRICT_SHOOTABLE
    11. RESTRICT_CUTABLE
    12. RESTRICT_MEGAPHONE
    13. RESTRICT_RECOVERABLE
    14. RESTRICT_FLOTSAM
    15. RESTRICT_NOTDESTROYED
    16. RESTRICT_CARRYABLE_BD
    17. RESTRICT_HASFIREEXT
    18. RESTRICT_HASSHEARS
    19. RESTRICT_HASCHAINSAW
    20. RESTRICT_HASJUMPPAD
    21. RESTRICT_HASROADBLOCK
    22. RESTRICT_HASFLASHGRENADE
    23. RESTRICT_HASFIREAXE
    24. RESTRICT_HASFIREHOSE
    25. RESTRICT_PULLABLE
    26. RESTRICT_BURNING
    27. RESTRICT_NOTBURNING
    28. RESTRICT_LINKED
    29. RESTRICT_NOTLINKED
    30. RESTRICT_INJURED
    31. RESTRICT_NOTINJURED
    32. RESTRICT_ARRESTED
    33. RESTRICT_NOTARRESTED
    34. RESTRICT_IDLE
    35. RESTRICT_SELFEXECUTE
    36. };
    Alles anzeigen



    Aufzählung der CommandRestriction2

    Quellcode

    1. enum CommandRestriction2
    2. {
    3. RESTRICT2_NONE
    4. RESTRICT2_ISHYDRANT
    5. RESTRICT2_ISHYDRANTORSELF
    6. };



    Aufzählung der CommandPossibleExits

    Quellcode

    1. enum CommandPossibleExists
    2. {
    3. CPE_CUTABLE_OBJECTS
    4. CPE_LOCKED_HOUSE
    5. CPE_HOUSE_FOR_JUMPPAD
    6. CPE_CAR_W_ENCLOSED_PERSON
    7. CPE_FREE_HOSE_CONNECTION
    8. CPE_COOLABLE_OBJECTS
    9. CPE_NONIJURED_PERSON
    10. CPE_FREE_DLK
    11. CPE_ACCESSIBLE_HOUSE
    12. CPE_EXTINGUISHABLE_OBJECTS
    13. CPE_OBJECTS_PULLABLE
    14. CPE_REPAIRABLE_CAR
    15. CPE_ASKABLE_PERSON
    16. CPE_INJURED_PERSON
    17. CPE_WOUNDED_SQUAD
    18. CPE_USABLE_WM_OBJECTS
    19. CPE_DROWNING_PERSONS
    20. CPE_ALWAYS
    21. };
    Alles anzeigen



    Aufzählung der CommandFireHoseNeeds

    Quellcode

    1. enum CommandFirehoseNeed
    2. {
    3. CFN_IGNORE,
    4. CFN_NEEDED,
    5. CFN_FAIL,
    6. };



    Aufzählung der MoveModes

    Quellcode

    1. enum MoveMode
    2. {
    3. MOVE_ABORT,
    4. MOVE_TO_POSITION,
    5. MOVE_INTO_HOUSE,
    6. MOVE_HOUSE_TO_HOUSE,
    7. MOVE_HOUSE_TO_POSITION,
    8. };



    Struktur der MoveResults

    Quellcode

    1. struct MoveResult
    2. {
    3. MoveMode Mode;
    4. Vector Target;
    5. Vector Intermediate1;
    6. Vector Intermediate2;
    7. bool UnInstall, BasketDown;
    8. OpenHouse EnterHouse;
    9. OpenHouse LeaveHouse;
    10. };



    Definierte Funktionen

    Quellcode

    1. class CommandScript
    2. {
    3. public :
    4. CommandScript(const char *Class_, const char *Object_);
    5. virtual ~CommandScript();
    6. void SetBitmapName(const char *Name);
    7. void SetActionCursor(const char *Name);
    8. void SetIcon(const char *Name);
    9. void SetCursor(const char *Name);
    10. void SetCommandName(const char *Name);
    11. void SetInfotextVisible(bool Visible);
    12. void SetValidTargets(int Types_);
    13. void SetDoubleClickable(bool DblClickable_);
    14. void SetActivationByLeftClick(bool byLeftClick_);
    15. void SetGroupID(int ID_);
    16. void SetGroupLeader(bool IsLeader_);
    17. void SetRestrictions(int Restrictions_);
    18. void AddRestriction(CommandRestriction Restriction_);
    19. void RemoveRestriction(CommandRestriction Restriction_);
    20. int GetRestrictions() const;
    21. void SetRestrictions2(int Restrictions_);
    22. void AddRestriction2(CommandRestriction2 Restriction_);
    23. void RemoveRestriction2(CommandRestriction2 Restriction_);
    24. int GetRestrictions2() const;
    25. void SetHighlightingEnabled(bool enabled_);
    26. void SetKeepAsCurrentCommand(bool keep_);
    27. void SetDeselectCaller(bool deselect_);
    28. void SetPossibleExists(int Exists_);
    29. void SetPossibleEquipment(int Equipment_);
    30. void SetPossibleCallers(int Types_);
    31. void SetNeedsConnectedHose(CommandFirehoseNeed NeedsHose_);
    32. void SetNeedsCarWithFlagSet(int Flag_);
    33. void SetPriority(int Priority_);
    34. void SetSelfClickActivation(bool activate_);
    35. MoveResult CheckMoveConditions(GameObject *Caller, Actor *Target, int ChildID);
    36. bool IsEnterCarPossible(GameObject *Caller);
    37. };
    Alles anzeigen

    400 mal gelesen