- UID
- 30365
- 阅读权限
- 30
- 回帖
- 143
- 喵币
- 0
- 有爱
- 26
- DKP
- 213
- 金币
- 14820
- 在线时间
- 345 小时
- 注册时间
- 2021-10-13
- 最后登录
- 2024-12-11
声望: 528   虚弱: 1

Lv.3(忠诚者)
|
发表于 2022-4-23 13:01:19
|
显示全部楼层
这个源码跟鉴定那个很相似,应该是师出同门, 源码都有相同的问题
1:player->CLOSE_GOSSIP_MENU(),还有后面几个有关于GOSSIP的已经不能这么写了,取而代之的是CloseGossipMenuFor(player); SendGossipMenuFor(player, AddGossipItemFor(player,等
2:Item* tar = targets.GetItemTarget();这一行在编译时会提示fatal error: member access into incomplete type 'const SpellCastTargets',
/azerothcore/src/server/game/Entities/Unit/Unit.h:236:7: note: forward declaration of 'SpellCastTargets' class SpellCastTargets;
看上去像是在Unit.h里已经被定义了,这个问题我暂时没解决,还往楼主指教
还有个小问题 #item.h需要改为Item.h
|
|