Skip to content

Structs

fantasy_cat_member

typedef struct _fantasy_cat_member_
    {
        char forum[32]; // Forum Username
        char configuration[0x10000]; // Configuration (JSON)
        char plugins[0x00000104]; // Plugin data.
        uintptr_t messages; // Unread forum messages.
        uintptr_t alerts; // Unread forum alerts.
    } User;

_fantasy_cat_color_scheme

typedef struct _fantasy_cat_color_scheme
    {
        int r;
        int g;
        int b;
    } Color;

fantasy_sdk_player

typedef struct _fantasy_sdk_player_
    {
        ///=========================================================
        /// @member id
        ///
        /// @return The ingame player's id.
        ///=========================================================
        int id;

        ///=========================================================
        /// @member name
        ///
        /// @return The ingame player name.
        ///=========================================================
        wchar_t name[32];

        ///=========================================================
        /// @member steam
        ///
        /// @return The ingame player SteamID3 (U:XXXXXX)
        ///=========================================================
        wchar_t steam[32];

        ///=========================================================
        /// @member health
        ///
        /// @return The ingame player's health.
        /// @note   Will return 0 if dead.
        ///=========================================================
        int health;

        ///=========================================================
        /// @member armor
        ///
        /// @return The ingame player's armor value.
        ///=========================================================
        int armor;

        ///=========================================================
        /// @member team
        ///
        /// @return The ingame player's team number.
        /// @note   Will return 2 if Terrorist; 3 if Counter-Terrorists; 1 if Spectator
        ///=========================================================
        int team;

        ///=========================================================
        /// @member weapon
        ///
        /// @return The ingame player's weapon id.
        /// @note   Refer to weapon id thread for weapon ids.
        ///=========================================================
        int weapon;

        ///=========================================================
        /// @member on_ground
        ///
        /// @return If the ingame player is on the ground or not.
        /// @note   This can change within miliseconds, assure your scan is optimized.
        ///=========================================================
        bool on_ground;

        ///=========================================================
        /// @member visible
        ///
        /// @return If the ingame player is considered visible to fantasy.cat or not.
        /// @note   This can change within miliseconds, assure your scan is optimized.
        ///=========================================================
        bool visible;

        struct
        {
            int width;
            int height;
        } resolution;

        ///=========================================================
        /// @member position
        ///
        /// @note   Contains the x, y, z coordinate of the player on the world map.
        ///=========================================================
        struct
        {
            float x;
            float y;
            float z;
        } position;

        ///=========================================================
        /// @member viewangle
        ///
        /// @note   Contains the x, y, z coordinate of the player's view angle.
        ///=========================================================
        struct
        {
            float x;
            float y;
            float z;
        } viewangle;

        ///=========================================================
        /// @member eye_position
        ///
        /// @note   Contains the x, y, z coordinate of the player's eye position.
        ///=========================================================
        struct
        {
            float x;
            float y;
            float z;
        } eye_position;

        _fantasy_cat_tf2_player tf2;
    } Player;