Skip to content

heroOfState beta ​

Function of @v12-engine/engine

ts
heroOfState: (state: EntityState) => HeroSent | undefined

What a player was told of a hero in their snapshot (heroState): its level to everyone, its experience, points and what it can learn to its side. None for what is no hero