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

TeamAdd() protected method

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