VS error
LNK1181 無法開啟輸入檔 '....\modules\RelWithDebInfo\modules.lib'
dbimport LINK 1
LNK1181 無法開啟輸入檔 '....\modules\RelWithDebInfo\modules.lib'
worldserver LINK 1
C4264
'void PlayerScript::OnPlayerResurrect(Player *,float,bool)':
基底類別 'PlayerScript' 的虛擬成員函式沒有覆寫; 函式已被隱藏
modules ALE_SC.cpp 584
C3668
'ALE_PlayerScript::OnPlayerResurrect':
具有覆寫規範 'override' 的方法並未覆寫任何基底類別方法
modules ALE_SC.cpp 650
C4263
'void ALE_PlayerScript::OnPlayerResurrect(Player *,float,bool &)':
成員函式不覆寫任何基底類別虛擬成員的函式
modules ALE_SC.cpp 650
The following code is the code after my repair. line650
void OnPlayerResurrect(Player* player, float /*restore_percent*/, bool /*applySickness*/) override
{
sALE->OnResurrect(player);
}
bool& <--It's an old version
bool <--new version
VS error
LNK1181 無法開啟輸入檔 '....\modules\RelWithDebInfo\modules.lib'
dbimport LINK 1
LNK1181 無法開啟輸入檔 '....\modules\RelWithDebInfo\modules.lib'
worldserver LINK 1
C4264
'void PlayerScript::OnPlayerResurrect(Player *,float,bool)':
基底類別 'PlayerScript' 的虛擬成員函式沒有覆寫; 函式已被隱藏
modules ALE_SC.cpp 584
C3668
'ALE_PlayerScript::OnPlayerResurrect':
具有覆寫規範 'override' 的方法並未覆寫任何基底類別方法
modules ALE_SC.cpp 650
C4263
'void ALE_PlayerScript::OnPlayerResurrect(Player *,float,bool &)':
成員函式不覆寫任何基底類別虛擬成員的函式
modules ALE_SC.cpp 650
The following code is the code after my repair. line650
bool& <--It's an old version
bool <--new version