SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias BotEnvironmentEvent

    BotEnvironmentEvent: Message<"soulfire.v1.BotEnvironmentEvent"> & {
        change:
            | { case: "time"; value: BotTimeEvent }
            | { case: "weather"; value: BotWeatherEvent }
            | { case: "gameEvent"; value: BotGameEvent }
            | { case: undefined; value?: undefined };
    }

    Type Declaration

    • change:
          | { case: "time"; value: BotTimeEvent }
          | { case: "weather"; value: BotWeatherEvent }
          | { case: "gameEvent"; value: BotGameEvent }
          | { case: undefined; value?: undefined }

      from oneof soulfire.v1.BotEnvironmentEvent.change

    from message soulfire.v1.BotEnvironmentEvent