Beispiel #1
0
 private static void OnPlayerModerationRemoved(string userId, ApiPlayerModeration.ModerationType moderationType)
 {
     if (moderationType == ApiPlayerModeration.ModerationType.ShowAvatar)
     {
         foreach (AvatarHiderPlayer playerProp in players.Values)
         {
             if (playerProp.userId == userId)
             {
                 playerProp.isShown = false;
                 RefreshFilteredList();
             }
         }
     }
     else if (moderationType == ApiPlayerModeration.ModerationType.HideAvatar)
     {
         foreach (AvatarHiderPlayer playerProp in players.Values)
         {
             if (playerProp.userId == userId)
             {
                 playerProp.isHidden = false;
                 RefreshFilteredList();
             }
         }
     }
 }
Beispiel #2
0
        private static void OnPlayerModerationRemove(string __0, ApiPlayerModeration.ModerationType __1)
        {
            if (__0 == null)
            {
                return;
            }

            OnPlayerModerationRemoved?.DelegateSafeInvoke(__0, __1);
        }
Beispiel #3
0
        private static void OnPlayerModerationSend1(string __1, ApiPlayerModeration.ModerationType __2)
        {
            if (__1 == null)
            {
                return;
            }

            OnPlayerModerationSent?.DelegateSafeInvoke(__1, __2);
        }
Beispiel #4
0
 private static bool allKickPatch1(ref string __0, ref ApiPlayerModeration.ModerationType __1, ref Il2CppSystem.Action <ApiPlayerModeration> __2, ref Il2CppSystem.Action <string> __3)
 {
     return(false);
 }