コード例 #1
0
 // Token: 0x06000272 RID: 626 RVA: 0x0000DDE8 File Offset: 0x0000BFE8
 public static void AddFriend()
 {
     if (FriendManager.smethod_1(FriendManager.smethod_0(), null))
     {
         BasePlayer target = Aimbot.GetTarget();
         if (FriendManager.smethod_1(target, null))
         {
             if (!FriendManager.friendsList.Contains(target.userID))
             {
                 FriendManager.friendsList.Add(target.userID);
             }
             else
             {
                 FriendManager.friendsList.Remove(target.userID);
             }
         }
     }
 }
コード例 #2
0
 // Token: 0x06000273 RID: 627 RVA: 0x0000474B File Offset: 0x0000294B
 public static bool IsFriend(BasePlayer player)
 {
     return(FriendManager.smethod_1(player, null) && FriendManager.friendsList.Contains(player.userID));
 }