Class DefaultEventPriority
Default event priorities values. The lower value, the higher event priority. So the DeathEvent has the highest priority (10), and WonRoundEvent has the lowest priority (150).
Inherited Members
Namespace: Robocode.TankRoyale.BotApi
Assembly: api.dll
Syntax
[PublicAPI]
public static class DefaultEventPriority
Fields
| Edit this page View SourceBotDeath
Event priority for the BotDeathEvent
Declaration
public const int BotDeath = 100
Field Value
| Type | Description |
|---|---|
| int |
BulletFired
Event priority for the BulletFiredEvent
Declaration
public const int BulletFired = 60
Field Value
| Type | Description |
|---|---|
| int |
BulletHitBot
Event priority for the BulletHitBotEvent
Declaration
public const int BulletHitBot = 70
Field Value
| Type | Description |
|---|---|
| int |
BulletHitBullet
Event priority for the BulletHitBulletEvent
Declaration
public const int BulletHitBullet = 80
Field Value
| Type | Description |
|---|---|
| int |
BulletHitWall
Event priority for the BulletHitWallEvent
Declaration
public const int BulletHitWall = 90
Field Value
| Type | Description |
|---|---|
| int |
Custom
Event priority for the CustomEvent
Declaration
public const int Custom = 120
Field Value
| Type | Description |
|---|---|
| int |
Death
Event priority for the DeathEvent
Declaration
public const int Death = 10
Field Value
| Type | Description |
|---|---|
| int |
HitBot
Event priority for the HitBotEvent
Declaration
public const int HitBot = 30
Field Value
| Type | Description |
|---|---|
| int |
HitByBullet
Event priority for the HitByBulletEvent
Declaration
public const int HitByBullet = 50
Field Value
| Type | Description |
|---|---|
| int |
HitWall
Event priority for the HitWallEvent
Declaration
public const int HitWall = 40
Field Value
| Type | Description |
|---|---|
| int |
ScannedBot
Event priority for the ScannedBotEvent
Declaration
public const int ScannedBot = 20
Field Value
| Type | Description |
|---|---|
| int |
SkippedTurn
Event priority for the SkippedTurnEvent
Declaration
public const int SkippedTurn = 140
Field Value
| Type | Description |
|---|---|
| int |
TeamMessage
Event priority for the TeamMessageEvent
Declaration
public const int TeamMessage = 110
Field Value
| Type | Description |
|---|---|
| int |
Tick
Event priority for the TickEvent
Declaration
public const int Tick = 130
Field Value
| Type | Description |
|---|---|
| int |
WonRound
Event priority for the WonRoundEvent
Declaration
public const int WonRound = 150
Field Value
| Type | Description |
|---|---|
| int |