OpenHouse (EM4)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

Information: The EMERGENCY community board is completely free and is financed by advertisement. Please deactivate adblocker if you use this site. Thank you!

Attention: During the night of the 8th March a spam bot has sent spam e-mails to users of this message board. The e-mail function was disabled and the spam bots were suspended.

  • Namespace / class 'OpenHouse'

    Table Of Contents

    Defined functions

    Source Code

    1. class OpenHouse : public GameObject
    2. {
    3. public :
    4. OpenHouse();
    5. OpenHouse(const OpenHouse& Obj_);
    6. OpenHouse(const Actor* Act_);
    7. OpenHouse(const GameObject* Obj_);
    8. ~OpenHouse();
    9. virtual bool IsValid() const;
    10. bool IsLocked(void) const;
    11. bool IsOpen(void) const;
    12. bool IsDoorLocked(int childID_) const;
    13. void OpenDoor(int childID_);
    14. void CloseDoor(int childID_);
    15. bool IsCeilingOpen()const;
    16. void ShowCeiling(bool show_, bool openEntrance_ = true, bool immediatelyClose_ = true) const;
    17. void Close();
    18. int GetEntranceDoorID(void) const;
    19. int GetChildID(int groupID_) const; //Ab Version 1.3
    20. Vector GetDoorPosition(int childID_, bool front_) const;
    21. Vector GetEntrancePosition(bool front_, float offset = 0.f) const;
    22. void GetDoorPosition(int childID_, bool front_, float &x_, float &y_, float &z_) const;
    23. void GetEntrancePosition(bool front_, float &x_, float &y_, float &z_) const;
    24. bool IsDoor(int childID_) const;
    25. bool IsEntranceDoor(int childID_) const;
    26. void SetDoorCollision(int childID_, bool enable_);
    27. bool HasGroundEntrance(void) const;
    28. int NumSquadPersonsInside() const;
    29. int NumNonSquadPersonsInside() const;
    30. PersonList GetSquadPersonsInside();
    31. PersonList GetNonSquadPersonsInside();
    32. bool HasJumppadTarget() const;
    33. Vector GetJumppadTarget() const;
    34. void GetJumppadTarget(float &x_, float &y_, float &z_) const;
    35. bool HasJumppad() const; // in any state
    36. bool IsJumppadInstalling() const;
    37. bool IsJumppadInstalled() const;
    38. bool IsJumppadDeinstalling() const;
    39. int GetJumppadID() const;
    40. bool GetInhouseFires(FireObjectList &list_);
    41. void SetCeilingCollision(bool enable_);
    42. void UpdateOpenCloseState(); //Since version 1.3
    43. };
    Display All

    715 times viewed