/*
 * Copyright (c) 2010-2026 OTClient <https://github.com/edubart/otclient>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

#pragma once

#include "staticdata.h"

 // outfit
int push_luavalue(const Outfit& outfit);
bool luavalue_cast(int index, Outfit& outfit);

// position
int push_luavalue(const Position& pos);
bool luavalue_cast(int index, Position& pos);

// market
int push_luavalue(const MarketData& data);
bool luavalue_cast(int index, MarketData& data);

// NPC
int push_luavalue(const std::vector<NPCData>& data);
bool luavalue_cast(int index, std::vector<NPCData>& data);
int push_luavalue(const NpcButton& button);
int push_luavalue(const NpcChatWindowData& data);

// light
int push_luavalue(const Light& light);
bool luavalue_cast(int index, Light& light);

// unjustified points
int push_luavalue(const UnjustifiedPoints& unjustifiedPoints);
bool luavalue_cast(int index, UnjustifiedPoints& unjustifiedPoints);

// imbuement
int push_luavalue(const Imbuement& i);
int push_luavalue(const ImbuementTrackerItem& i);

// bless
int push_luavalue(const BlessData& bless);
int push_luavalue(const LogData& log);
int push_luavalue(const BlessDialogData& data);

// store
int push_luavalue(const StoreCategory& category);
int push_luavalue(const SubOffer& subOffer);
int push_luavalue(const StoreOffer& offer);
int push_luavalue(const HomeOffer& homeOffer);
int push_luavalue(const Banner& banner);
int push_luavalue(const StoreData& storeData);

// item inspection
int push_luavalue(const ItemInspectionData& data);
int push_luavalue(const InspectionInventoryItem& entry);
int push_luavalue(const CyclopediaCharacterInspection& data);

// cyclopedia
int push_luavalue(const CyclopediaBestiaryRace& race);
int push_luavalue(const BestiaryOverviewMonsters& monster);
int push_luavalue(const CharmData& charm);
int push_luavalue(const BestiaryCharmsData& charmData);
int push_luavalue(const CyclopediaCharacterGeneralStats& stats);
int push_luavalue(const CyclopediaCharacterCombatStats& data);
int push_luavalue(const CyclopediaCharacterItemSummary& data);
int push_luavalue(const ItemSummary& item);
int push_luavalue(const LootItem& lootItem);
int push_luavalue(const BestiaryMonsterData& data);
int push_luavalue(const BosstiaryData& boss);
int push_luavalue(const BosstiarySlot& slot);
int push_luavalue(const BossUnlocked& boss);
int push_luavalue(const BosstiarySlotsData& data);
int push_luavalue(const RecentPvPKillEntry& entry);
int push_luavalue(const CyclopediaCharacterRecentPvPKills& data);
int push_luavalue(const RecentDeathEntry& entry);
int push_luavalue(const CyclopediaCharacterRecentDeaths& data);
int push_luavalue(const OutfitColorStruct& currentOutfit);
int push_luavalue(const CharacterInfoOutfits& outfit);
int push_luavalue(const CharacterInfoMounts& mount);
int push_luavalue(const CharacterInfoFamiliar& familiar);
int push_luavalue(const CyclopediaCharacterOffenceStats& data);
int push_luavalue(const CyclopediaCharacterDefenceStats& data);
int push_luavalue(const CyclopediaCharacterMiscStats& data);

// bestiary
int push_luavalue(const RaceType& raceData);

// task board
int push_luavalue(const TaskBoardSoulsealEntryData& entry);

// rewardWall
int push_luavalue(const DailyRewardItem& item);
int push_luavalue(const DailyRewardBundle& bundle);
int push_luavalue(const DailyRewardDay& day);
int push_luavalue(const DailyRewardData& data);

// forge
int push_luavalue(const ForgeOpenData& data);
int push_luavalue(const ForgeTransferData& data);
int push_luavalue(const ForgeItemInfo& data);
int push_luavalue(const ForgeHistory& data);
int push_luavalue(const ForgeTierPrice& data);
int push_luavalue(const ForgeGradeData& data);
int push_luavalue(const ForgeClassTierPrices& data);
int push_luavalue(const ForgeResultData& data);
int push_luavalue(const ForgeConfigData& data);

// Game Analysers Structs
int push_luavalue(const BossCooldownData& data);
int push_luavalue(const PartyMemberData& data);
int push_luavalue(const PartyMemberName& data);

// whell gem atelier  
int push_luavalue(const GemData& gem);  
bool luavalue_cast(int index, GemData& gem);
