21 lines
375 B
C#
21 lines
375 B
C#
using System.Collections.Generic;
|
|
|
|
namespace ET.Client
|
|
{
|
|
[ComponentOf(typeof(Scene))]
|
|
public class HeroComponent : Entity, IAwake, IDestroy
|
|
{
|
|
public Dictionary<long, HeroInfo> HeroMap = new();
|
|
}
|
|
|
|
public struct HeroUpdatedEvent
|
|
{
|
|
public long HeroId;
|
|
}
|
|
|
|
public struct HeroListUpdatedEvent
|
|
{
|
|
public int Count;
|
|
}
|
|
}
|