Add Player ========================== .. code-block:: csharp public void AddPlayer(Player player, byte id) Registers the given ``Player`` into the current match with the specified ``id``. If ``id`` matches the local player id, this player becomes the local player (``LocalPlayer``) and is added to ``LocalPlayerEnemies`` bookkeeping for players not on the local player's team. Called by the asset's own match setup code - you normally don't need to call this yourself.