//初始化Team public int InitTeam(string gameId, string gameKey, string openId, int msTimeout, int type = 0) { mVoiceengine = GCloudVoice.GetEngine(); mVoiceengine.SetAppInfo(gameId, gameKey, openId); int initResult = mVoiceengine.Init(); mVoiceengine.ApplyMessageKey(msTimeout); mVoiceengine.SetMode((GCloudVoiceMode)type); return(initResult); }