|
@@ -131,6 +131,20 @@ namespace CommonAI.Zone.ZoneEditor.EventTrigger
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ [DescAttribute("发送消息到客户端", "客户端")]
|
|
|
+ public class GameNotify : ClientAction
|
|
|
+ {
|
|
|
+ [DescAttribute("消息")]
|
|
|
+ public StringValue Message = new StringValue.VALUE();
|
|
|
+ public override string ToString()
|
|
|
+ {
|
|
|
+ return string.Format("发送消息到客户端:{0}", Message);
|
|
|
+ }
|
|
|
+ public override ClientEvent AsEvent(EventTriggerAdapter api, EventArguments args)
|
|
|
+ {
|
|
|
+ return new ClientMsgEvent(Message.GetValue(api, args));
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
[DescAttribute("镜头锁定在某处一段时间", "客户端 - 镜头变换")]
|
|
|
public class CameraHold : ClientAction
|