15 lines
285 B
C#
15 lines
285 B
C#
|
using ET.EventType;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
public class EnterUnitEvent : AEvent_Sync<EnterUnit>
|
|||
|
{
|
|||
|
public override void Run(EnterUnit args)
|
|||
|
{
|
|||
|
MainUI.AddUnit(args.Id, args.job, args.name);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|