13 lines
277 B
C#
13 lines
277 B
C#
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
[ActorMessageHandler]
|
|||
|
public class C2M_AddExpHandler : AMActorLocationHandler<Unit,C2M_AddExp>
|
|||
|
{
|
|||
|
protected override async ETTask Run(Unit unit, C2M_AddExp message)
|
|||
|
{
|
|||
|
CharacterHelper.AddExp(unit, message.Exp);
|
|||
|
await ETTask.CompletedTask;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|