2022-02-21 03:51:35 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CppScripts.h"
|
|
|
|
|
|
|
|
class MailBoxServer : public CppScripts::Script {
|
|
|
|
public:
|
2022-07-28 13:39:57 +00:00
|
|
|
/**
|
|
|
|
* When a mailbox is interacted with, this method updates the player game state
|
|
|
|
* to be in a mailbox.
|
|
|
|
*
|
|
|
|
* @param self The object that owns this script.
|
|
|
|
* @param user The user that interacted with this Entity.
|
|
|
|
*/
|
|
|
|
void OnUse(Entity* self, Entity* user) override;
|
2022-08-19 02:42:52 +00:00
|
|
|
void OnFireEventServerSide(Entity* self, Entity* sender, std::string args, int32_t param1, int32_t param2, int32_t param3) override;
|
2022-07-28 13:39:57 +00:00
|
|
|
};
|