Added a player name to the PlayerSpawned event. When a player has spawned the server sends the name to the client which publishes the event.
This commit is contained in:
@@ -12,6 +12,7 @@ struct PlayerSpawned : Event
|
||||
int PlayerID;
|
||||
EntityWrapper Player;
|
||||
EntityWrapper Spawner;
|
||||
std::string PlayerName;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user