21 lines
482 B
C#
21 lines
482 B
C#
using ET.EventType;
|
|
using ET;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ET
|
|
{
|
|
public class AddChatUITextEvent : AEvent<AddChatUIText>
|
|
{
|
|
public override async ETTask Run(AddChatUIText args)
|
|
{
|
|
if (args.isSysBrocast)
|
|
MainUIGlobalText.Instance.Init(args.chatContent);
|
|
|
|
var chat = MainUI.GetChatContiator;
|
|
chat.Refresh(args.chatType);
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|
|
}
|