Exemplo n.º 1
0
    public int _QuitRoom(long roomId, short memberId, string OpenId)
    {
        if (!ApolloVoice_lib.bInit)
        {
            return(4);
        }
        byte[] bytes = Encoding.ASCII.GetBytes(OpenId);
        int    num   = ApolloVoice_lib.ApolloVoiceQuitRoom(roomId, memberId, bytes);

        if (num == 0)
        {
            return(0);
        }
        return(num);
    }