#pragma region License /* License (OLC-3) ~~~~~~~~~~~~~~~ Copyright 2018 - 2023 OneLoneCoder.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions or derivations of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions or derivative works in binary form must reproduce the above copyright notice. This list of conditions and the following disclaimer must be reproduced in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #pragma endregion #pragma once #include #define F(attr) GetFloat(attr) #define I(attr) GetInt(attr) #define S(attr) GetString(attr) #define B(attr) GetBool(attr) #define V(attr) GetVf2d(attr) enum class Attribute{ IFRAME_TIME_UPON_HIT, //When this is set, the monster gains iframes if they take damage based on the value this is set to. SHOOT_RING_TIMER, SHOOT_RING_DELAY, SHOOT_RING_COUNTER, SHOOT_RING_RIGHT, SHOOT_RING_OFFSET, PATTERN_REPEAT_COUNT, JUMP_ORIGINAL_LANDING_TIMER, JUMP_LANDING_TIMER, JUMP_TARGET_POS, RECOVERY_TIME, SHOOT_ANIMATION_TIME, SHOOT_TIMER, JUMP_MOVE_SPD, JUMP_COUNT, CASTING_TIMER, RUN_AWAY_TIMER, PHASE_REPEAT_COUNT, JUMP_TOWARDS_PLAYER, HITS_UNTIL_DEATH, //When this is set, it is reduced by 1 each time the monster is hit. INDEXED_THEME, SCROLL_OFFSET, CLASS_SELECTION, //A class name that represents what the menu's class is. LOADOUT_SLOT, //Which loadout slot we are selecting an item for. ALLOW_DRAGGING, //Whether or not to allow inventory dragging. };