Some new events and changes to ScoreSystem

This commit is contained in:
Tleety
2016-03-03 11:25:06 +01:00
parent 27d3ec4118
commit ff6e2167d4
10 changed files with 1251 additions and 1084 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef Events_PlayerConnected
#define Events_PlayerConnected
#include "Core/EventBroker.h"
namespace Events
{
struct PlayerConnected : public Event
{
std::string PlayerName = "";
int PlayerID = -1;
};
}
#endif // !Events_PlayerConnected
+1
View File
@@ -21,6 +21,7 @@
#include "Core/EEntityDeleted.h"
#include "Core/EComponentDeleted.h"
#include "Core/EAmmoPickup.h"
#include "Network/EPlayerConnected.h"
class Server : public Network
{