1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using Core.Language;
- using Excel2Json;
- using Fort23.UTool;
- namespace Fort23.Mono
- {
- [UIBinding(prefab = "EventMinLogWidget")]
- public partial class EventMinLogWidget : UIComponent
- {
- private EventConfig eventConfig;
- private void Init()
- {
- }
- public override void AddEvent()
- {
- }
- public override void DelEvent()
- {
- }
- public override void AddButtonEvent()
- {
- }
- public void CustomInit(int id, AccountFileInfo.EventList eventList)
- {
- eventConfig = ConfigComponent.Instance.Get<EventConfig>(id);
- if (eventList == null)
- {
- Text_Name.text = "???";
- }
- else
- {
- Text_Name.text = LanguageManager.Instance.Text(eventConfig.EventName);
- }
- }
- }
- }
|