private void MatchEventDispatcher_UserDepartedEvent(UserDepartedEventArgs args)
        {
            if (args.DepartureType == DepartureType.Participant)
            {
                ClientManager.SendMessageToAllClients(GetMatchSyncCommand(args.Match));
            }

            else if (args.DepartureType == DepartureType.Spectator)
            {
                SendSpectatorDepartureNotification(args.Match.MatchIdentity, args.PlayerState);
            }

            else if (args.DepartureType == DepartureType.Unknown)
            {
                Console.WriteLine("[{0}] User Departure Returned Unknown..", args.Match.MatchIdentity);
            }
        }
 public static void InvokeUserDepartedEvent(UserDepartedEventArgs args)
 {
     UserDepartedEvent?.Invoke(args);
 }