mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-04 15:43:52 +00:00
[Cleanup] Remove unused SaveBackup in client.h (#3030)
# Notes - This is unused and does nothing in both Perl and Lua.
This commit is contained in:
parent
a0a28fef04
commit
6b65e93a06
@ -743,9 +743,6 @@ bool Client::Save(uint8 iCommitNow) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Client::SaveBackup() {
|
||||
}
|
||||
|
||||
CLIENTPACKET::CLIENTPACKET()
|
||||
{
|
||||
app = nullptr;
|
||||
|
||||
@ -353,8 +353,7 @@ public:
|
||||
void UpdateLFP();
|
||||
|
||||
virtual bool Save() { return Save(0); }
|
||||
bool Save(uint8 iCommitNow); // 0 = delayed, 1=async now, 2=sync now
|
||||
void SaveBackup();
|
||||
bool Save(uint8 iCommitNow); // 0 = delayed, 1=async now, 2=sync now
|
||||
|
||||
/* New PP Save Functions */
|
||||
bool SaveCurrency(){ return database.SaveCharacterCurrency(this->CharacterID(), &m_pp); }
|
||||
|
||||
@ -36,11 +36,6 @@ void Lua_Client::Save(int commit_now) {
|
||||
self->Save(commit_now);
|
||||
}
|
||||
|
||||
void Lua_Client::SaveBackup() {
|
||||
Lua_Safe_Call_Void();
|
||||
self->SaveBackup();
|
||||
}
|
||||
|
||||
bool Lua_Client::Connected() {
|
||||
Lua_Safe_Call_Bool();
|
||||
return self->Connected();
|
||||
@ -3418,7 +3413,6 @@ luabind::scope lua_register_client() {
|
||||
.def("RewardFaction", (void(Lua_Client::*)(int,int))&Lua_Client::RewardFaction)
|
||||
.def("Save", (void(Lua_Client::*)(int))&Lua_Client::Save)
|
||||
.def("Save", (void(Lua_Client::*)(void))&Lua_Client::Save)
|
||||
.def("SaveBackup", (void(Lua_Client::*)(void))&Lua_Client::SaveBackup)
|
||||
.def("ScribeSpell", (void(Lua_Client::*)(int,int))&Lua_Client::ScribeSpell)
|
||||
.def("ScribeSpell", (void(Lua_Client::*)(int,int,bool))&Lua_Client::ScribeSpell)
|
||||
.def("ScribeSpells", (uint16(Lua_Client::*)(uint8,uint8))&Lua_Client::ScribeSpells)
|
||||
|
||||
@ -34,7 +34,6 @@ public:
|
||||
void Sit();
|
||||
void Save();
|
||||
void Save(int commit_now);
|
||||
void SaveBackup();
|
||||
bool Connected();
|
||||
bool InZone();
|
||||
void Kick();
|
||||
|
||||
@ -19,11 +19,6 @@ bool Perl_Client_Save(Client* self, uint8 commit_now) // @categories Script Util
|
||||
return self->Save(commit_now);
|
||||
}
|
||||
|
||||
void Perl_Client_SaveBackup(Client* self) // @categories Script Utility
|
||||
{
|
||||
self->SaveBackup();
|
||||
}
|
||||
|
||||
bool Perl_Client_Connected(Client* self) // @categories Script Utility
|
||||
{
|
||||
return self->Connected();
|
||||
@ -3272,7 +3267,6 @@ void perl_register_client()
|
||||
package.add("ResetItemCooldown", &Perl_Client_ResetItemCooldown);
|
||||
package.add("ResetTrade", &Perl_Client_ResetTrade);
|
||||
package.add("Save", &Perl_Client_Save);
|
||||
package.add("SaveBackup", &Perl_Client_SaveBackup);
|
||||
package.add("ScribeSpell", (void(*)(Client*, uint16, int))&Perl_Client_ScribeSpell);
|
||||
package.add("ScribeSpell", (void(*)(Client*, uint16, int, bool))&Perl_Client_ScribeSpell);
|
||||
package.add("ScribeSpells", &Perl_Client_ScribeSpells);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user