#include "rpcconfig.h"
+#include "common.h"
#include "admin.h"
#include "module_settings.h"
-#include "../../../settings.h"
-#include "common.h"
+#include "settings.h"
#include "info_methods.h"
#include "users_methods.h"
store,
users
));
-rpcRegistry.addMethod("stargazer.add_cash", methodAddCashPtr);
+rpcRegistry.addMethod("stargazer.add_user_cash", methodAddCashPtr);
xmlrpc_c::methodPtr const methodSetCashPtr(new METHOD_USER_CASH_SET(
this,
store,
users
));
-rpcRegistry.addMethod("stargazer.set_cash", methodSetCashPtr);
+rpcRegistry.addMethod("stargazer.set_user_cash", methodSetCashPtr);
xmlrpc_c::methodPtr const methodTariffChangePtr(new METHOD_USER_TARIFF_CHANGE(
this,
store,
users
));
-rpcRegistry.addMethod("stargazer.tariff_change", methodTariffChangePtr);
+rpcRegistry.addMethod("stargazer.chg_user_tariff", methodTariffChangePtr);
xmlrpc_c::methodPtr const methodGetTariffPtr(new METHOD_TARIFF_GET(
this,
this,
users
));
-rpcRegistry.addMethod("stargazer.send_message", methodSendMessagePtr);
+rpcRegistry.addMethod("stargazer.send_user_message", methodSendMessagePtr);
xmlrpc_c::methodPtr const methodGetOnlinIPsPtr(new METHOD_GET_ONLINE_IPS(
this,