载入中...
搜索中...
未找到
#include "common/Export.h"#include "attributes/AttributeProjection.h"#include "card/CardEffects.h"#include "common/ECS.h"#include "common/definitions/DefinitionRuntime.h"#include "decision/Condition.h"#include <glm/vec3.hpp>#include <glm/vec4.hpp>#include <cstdint>#include <string>#include <vector>类 | |
| struct | eve::card::LayoutConfig |
| UiCard 风格的布局配置(脚本可实时修改,对应 UiCard 的 Configs 面板)。 更多... | |
| struct | eve::card::CardDefinition |
| 卡牌类型定义(registerCardsFromJson 注册)。 更多... | |
| class | eve::card::CardData |
| 单张卡牌:ECS 实体,数据拆成 Identity / Stats / Visual / Layout / State。 更多... | |
| struct | eve::card::CardData::Identity |
| 稳定实例 id、显示名、种类。 更多... | |
| struct | eve::card::CardData::Stats |
| 费用 / 攻击 / 生命。 更多... | |
| struct | eve::card::CardData::Attributes |
| Canonical selected card stats backed by the attributes module. 更多... | |
| struct | eve::card::CardData::Effects |
| Canonical effect lifecycle and card combat target state. 更多... | |
| struct | eve::card::CardData::Visual |
| 朝向、禁用、色调、卡图。 更多... | |
| struct | eve::card::CardData::Layout |
| 运行时布局(由 Hand 维护):中心坐标与变换。 更多... | |
| struct | eve::card::CardData::State |
| 运行时交互状态。 更多... | |
| struct | eve::card::CardData::DefinitionBinding |
| Definition link and reload policy for this card instance. 更多... | |
| class | eve::card::Deck |
| 牌库(栈顶在末尾)。 更多... | |
| struct | eve::card::Deck::Membership |
| 有序牌堆;栈顶在 vector 末尾。 更多... | |
| class | eve::card::Zone |
| 落牌区(手牌区 / 出牌区 / 弃牌区),用于拖放命中判定。 更多... | |
| struct | eve::card::Zone::Rect |
| 区域矩形与绘制参数。 更多... | |
| struct | eve::card::Zone::Filter |
| 接受的卡牌 kind;空 = 接受任意 kind。 更多... | |
| struct | eve::card::CardEvent |
| 一次交互事件。 更多... | |
| class | eve::card::Hand |
| 手牌:扇形布局 + 悬浮 + 拖拽 + 落区判定 + 渲染。 更多... | |
| struct | eve::card::Hand::Meta |
| 所有者与布局/交互开关。 更多... | |
| struct | eve::card::Hand::Membership |
| 有序手牌列表。 更多... | |
| struct | eve::card::Hand::Drag |
| 拖拽内部状态(勿直接修改)。 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::graphics |
| 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。 | |
| namespace | eve::card |
枚举 | |
| enum class | eve::card::CardState : uint8_t { eve::card::Deck , eve::card::Hand , eve::card::Hovered , eve::card::Dragging , eve::card::Returning , eve::card::Played , eve::card::Discarded , eve::card::Disabled } |
| 单张卡牌的运行时状态。 更多... | |
函数 | |
| const char * | eve::card::cardStateName (CardState state) |
| 状态枚举的字符串名(用于脚本/调试)。 | |
| void | eve::card::printCentered (graphics::Graphics *gfx, const std::string &text, float cx, float cy, float scale, const glm::vec4 &color) |
| 渲染辅助(也供 Zone / Deck 复用)。 | |
| void | eve::card::renderCardBack (graphics::Graphics *gfx, float x, float y, float w, float h, float angle, float a) |
| 绘制牌背。 | |
| void | eve::card::renderCard (graphics::Graphics *gfx, const CardData &card, const LayoutConfig &cfg, bool back) |
| 绘制单张卡牌(正面或牌背)。 | |