[Server] Rename OnRequestPluginList into OnRequestDataFileList

pull/512/head
David Cernat 6 years ago
parent 986528c67d
commit a0ec9dfd2e

@ -586,7 +586,7 @@ void Networking::InitQuery(std::string queryAddr, unsigned short queryPort)
void Networking::postInit() void Networking::postInit()
{ {
Script::Call<Script::CallbackIdentity("OnServerPostInit")>(); Script::Call<Script::CallbackIdentity("OnServerPostInit")>();
Script::Call<Script::CallbackIdentity("OnRequestPluginList")>(); Script::Call<Script::CallbackIdentity("OnRequestDataFileList")>();
} }
PacketPreInit::PluginContainer &Networking::getSamples() PacketPreInit::PluginContainer &Networking::getSamples()

@ -209,7 +209,7 @@ public:
{"OnWorldMap", Callback<unsigned short>()}, {"OnWorldMap", Callback<unsigned short>()},
{"OnWorldWeather", Callback<unsigned short>() }, {"OnWorldWeather", Callback<unsigned short>() },
{"OnMpNumIncrement", Callback<int>()}, {"OnMpNumIncrement", Callback<int>()},
{"OnRequestPluginList", Callback<>()} {"OnRequestDataFileList", Callback<>()}
}; };
}; };

Loading…
Cancel
Save