X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/324028b1d412ab7308d2be18be2b8e4e30310d27..f91192c77eec33a27dea7fcd0d451823ef478529:/projects/stargazer/plugins/other/rscript/rscript.h?ds=sidebyside diff --git a/projects/stargazer/plugins/other/rscript/rscript.h b/projects/stargazer/plugins/other/rscript/rscript.h index 461fcacd..6ee10c82 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.h +++ b/projects/stargazer/plugins/other/rscript/rscript.h @@ -47,6 +47,7 @@ #include "stg/users.h" #include "stg/blowfish.h" #include "stg/rs_packets.h" +#include "stg/logger.h" #include "nrmap_parser.h" extern "C" PLUGIN * GetPlugin(); @@ -170,8 +171,8 @@ public: const std::string & GetStrError() const { return errorStr; } const std::string GetVersion() const { return "Remote script v 0.3"; } - uint16_t GetStartPosition() const { return 20; } - uint16_t GetStopPosition() const { return 20; } + uint16_t GetStartPosition() const { return 10; } + uint16_t GetStopPosition() const { return 10; } void DelUser(USER_PTR u) { UnSetUserNotifier(u); } void AddUser(USER_PTR u) { SetUserNotifier(u); } @@ -227,6 +228,8 @@ private: RS_ADD_USER_NONIFIER onAddUserNotifier; RS_DEL_USER_NONIFIER onDelUserNotifier; + PLUGIN_LOGGER logger; + friend class UpdateRouter; friend class DisconnectUser; };