CTT/Server/Model/Game/Entity/Other/Notice.cs

23 lines
422 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ET
{
public class NoticeAwakeSystem : AwakeSystem<Notice>
{
public override void Awake(Notice self)
{
string path = $"../Config/Notice.txt";
self.notice = File.ReadAllText(path);
}
}
public class Notice:Entity
{
public string notice;
}
}