示例#1
0
        public static void Remove(ulong sid)
        {
            ListFriendRequests listFriendRequests = ListFriendRequests.list.Find((Predicate <ListFriendRequests>)(x => (long)x.sid == (long)sid));

            ListFriendRequests.list.Remove(listFriendRequests);
        }
示例#2
0
        public static void Add(string name, ulong sid, string status = "Offline")
        {
            ListFriendRequests listFriendRequests = new ListFriendRequests(name, sid, status);

            ListFriendRequests.list.Add(listFriendRequests);
        }