blob: fd07f90f7eb35e26c6663cf30444027bd62ee9f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
using KKSG;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_RpcC2A_AudioText
{
public static void OnReply(AudioTextArg oArg, AudioTextRes oRes)
{
bool flag = oRes == null;
if (!flag)
{
bool flag2 = oRes.error == ErrorCode.ERR_SUCCESS;
if (flag2)
{
XSingleton<XChatApolloMgr>.singleton.OnGotAudioText(oRes);
}
else
{
XSingleton<XDebug>.singleton.AddLog("Got file text error: ", oRes.error.ToString(), null, null, null, null, XDebugColor.XDebug_None);
XSingleton<XChatApolloMgr>.singleton.OnGotAudioTextError(oRes);
}
}
}
public static void OnTimeout(AudioTextArg oArg)
{
}
}
}
|