Created EPlayerSpawned that gets published when a player spawns

This commit is contained in:
2016-01-22 10:16:35 +01:00
parent 8cf83454d7
commit 1e3fc1ae2d
3 changed files with 41 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef EPlayerSpawned_h__
#define EPlayerSpawned_h__
#include "Core/Event.h"
#include "Core/EntityWrapper.h"
namespace Events
{
struct PlayerSpawned : Event
{
int PlayerID;
EntityWrapper Player;
EntityWrapper Spawner;
};
}
#endif