Exemplo n.º 1
0
        //------------------------[ Blacklist Operations ]-------------------------//
        static void AddBlacklist(RTMClient client, HashSet <long> uids)
        {
            int errorCode = client.AddBlacklist(uids);

            if (errorCode != com.fpnn.ErrorCode.FPNN_EC_OK)
            {
                Console.WriteLine("Add users to blacklist in sync failed, error code is {0}.", errorCode);
            }
            else
            {
                Console.WriteLine("Add users to blacklist in sync success");
            }
        }
Exemplo n.º 2
0
    //------------------------[ Blacklist Operations ]-------------------------//
    static void AddBlacklist(RTMClient client, HashSet <long> uids)
    {
        int errorCode = client.AddBlacklist(uids);

        if (errorCode != com.fpnn.ErrorCode.FPNN_EC_OK)
        {
            Debug.Log("Add users to blacklist in sync failed, error code is " + errorCode);
        }
        else
        {
            Debug.Log("Add users to blacklist in sync success");
        }
    }