MBC.Shared.Entities.Match.PlayerAdd C# (CSharp) Method

PlayerAdd() protected method

Creates a MatchAddPlayerEvent from within the match and returns it. Invokes any event subscriptions to OnPlayerAdd.
Thrown when the event being created is not valid for the /// current state of the match.
protected PlayerAdd ( Player player ) : void
player Player
return void
        protected internal virtual void PlayerAdd(Player player)
        {
            InvokeEvent(new MatchAddPlayerEvent(this, player));
        }