Robocode Tank Royale Bot API
    Preparing search index...

    Variable DefaultEventPriorityConst

    DefaultEventPriority: {
        BOT_DEATH: 100;
        BULLET_FIRED: 60;
        BULLET_HIT_BOT: 70;
        BULLET_HIT_BULLET: 80;
        BULLET_HIT_WALL: 90;
        CUSTOM: 120;
        DEATH: 10;
        HIT_BOT: 30;
        HIT_BY_BULLET: 50;
        HIT_WALL: 40;
        SCANNED_BOT: 20;
        SKIPPED_TURN: 140;
        TEAM_MESSAGE: 110;
        TICK: 130;
        WON_ROUND: 150;
    } = ...

    Default event priority values. The higher value, the higher event priority. So WonRoundEvent has the highest priority (150), and DeathEvent has the lowest priority (10).

    Type Declaration

    • ReadonlyBOT_DEATH: 100

      Event priority for the BotDeathEvent

    • ReadonlyBULLET_FIRED: 60

      Event priority for the BulletFiredEvent

    • ReadonlyBULLET_HIT_BOT: 70

      Event priority for the BulletHitBotEvent

    • ReadonlyBULLET_HIT_BULLET: 80

      Event priority for the BulletHitBulletEvent

    • ReadonlyBULLET_HIT_WALL: 90

      Event priority for the BulletHitWallEvent

    • ReadonlyCUSTOM: 120

      Event priority for the CustomEvent

    • ReadonlyDEATH: 10

      Event priority for the DeathEvent

    • ReadonlyHIT_BOT: 30

      Event priority for the HitBotEvent

    • ReadonlyHIT_BY_BULLET: 50

      Event priority for the HitByBulletEvent

    • ReadonlyHIT_WALL: 40

      Event priority for the HitWallEvent

    • ReadonlySCANNED_BOT: 20

      Event priority for the ScannedBotEvent

    • ReadonlySKIPPED_TURN: 140

      Event priority for the SkippedTurnEvent

    • ReadonlyTEAM_MESSAGE: 110

      Event priority for the TeamMessageEvent

    • ReadonlyTICK: 130

      Event priority for the TickEvent

    • ReadonlyWON_ROUND: 150

      Event priority for the WonRoundEvent