SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    BotEntityEvent: Message<"soulfire.v1.BotEntityEvent"> & {
        entity?: NearbyEntity;
        kind: EntityEventKind;
        snapshot?: EntitySnapshot;
    }

    An entity change within the bot's observation radius.

    Type Declaration

    • Optionalentity?: NearbyEntity

      Entity summary at the time of the event. For DESPAWN, only entity_id is guaranteed to be populated.

      from field: soulfire.v1.NearbyEntity entity = 2;

    • kind: EntityEventKind

      from field: soulfire.v1.EntityEventKind kind = 1;

    • Optionalsnapshot?: EntitySnapshot

      Full semantic entity state at the time of the event. Present for spawn and update events. A despawn uses entity as its stable tombstone.

      from field: optional soulfire.v1.EntitySnapshot snapshot = 3;

    from message soulfire.v1.BotEntityEvent