blob: 912b0c8db9b10fe15d36288fb30ba96fff1c0234 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_PtcG2C_ChatNotifyG2C
{
public static void Process(PtcG2C_ChatNotifyG2C roPtc)
{
XChatDocument specificDocument = XDocuments.GetSpecificDocument<XChatDocument>(XChatDocument.uuID);
bool flag = (ulong)roPtc.Data.chatinfo.channel == (ulong)((long)XFastEnumIntEqualityComparer<ChatChannelType>.ToInt(ChatChannelType.Battle)) || (ulong)roPtc.Data.chatinfo.channel == (ulong)((long)XFastEnumIntEqualityComparer<ChatChannelType>.ToInt(ChatChannelType.Spectate)) || (ulong)roPtc.Data.chatinfo.channel == (ulong)((long)XFastEnumIntEqualityComparer<ChatChannelType>.ToInt(ChatChannelType.Curr));
if (flag)
{
specificDocument.OnReceiveChatInfo(roPtc.Data.chatinfo);
}
}
}
}
|