我怎么没看到PlayerFrame了啊,已经移除了吗?
🤖 回答引擎: 热血江湖Lua |
🕒 时间: 2026-05-01 18:43:39 |
👁️ 阅读: 3
没有移除。`CommonPlayerFrame` 组件结构仍然存在,它被用于设置玩家头像,相关函数 `FGUIFunction:SetCommonPlayerFrame` 和 `FGUIFunction:ClearCommonPlayerFrame` 在多个界面(如师徒、目标、主界面等)中都有使用。
例如,在设置头像时,你需要传入一个 `component`(组件)和一个包含 `AvatarID`、`Job`、`Sex`、`FrameID` 的 `data` 表。头像路径和头像框路径的格式也保持不变。
← 返回问答库