// Token: 0x0600C6E3 RID: 50915 RVA: 0x003716F0 File Offset: 0x0036F8F0 public static void GetVoiceContentAndPlayVoice(ChatVoiceMessage chatInfo, Action onStartPlayVoice = null) { if (chatInfo.VoiceData != null) { VoicePlayer.PlayPlayerVoice(chatInfo, onStartPlayVoice); } else if (chatInfo.InstanceId != 0UL) { GetVoiceContentNetTask getVoiceContentNetTask = new GetVoiceContentNetTask(chatInfo.ChannelId, chatInfo.InstanceId); getVoiceContentNetTask.EventOnStop += delegate(Task task) { GetVoiceContentNetTask getVoiceContentNetTask2 = task as GetVoiceContentNetTask; chatInfo.VoiceData = getVoiceContentNetTask2.VoiceContent.VoiceData; chatInfo.AudioFrequency = getVoiceContentNetTask2.VoiceContent.AudioFrequency; chatInfo.SampleLength = getVoiceContentNetTask2.VoiceContent.SampleLength; VoicePlayer.PlayPlayerVoice(chatInfo, onStartPlayVoice); }; getVoiceContentNetTask.Start(null); } }
// Token: 0x0600C6FC RID: 50940 RVA: 0x00371FC0 File Offset: 0x003701C0 public LuaExportHelper(GetVoiceContentNetTask owner) { this.m_owner = owner; }