hestia-rsps / hestia

An open-source Kotlin game server.
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

QueuePriority #55

Closed GregHib closed 4 years ago

GregHib commented 4 years ago

Example TaskPriority

Each entity (player/mob/bot) has its own queue. Queues are used for: dialogues, combat, interfaces, skills (all interaction pretty much)

Type Description Examples
Strong Closes menus immediately death, teleporting
Standard Waits for full-screen menus to finish before continuing interaction movement
Weak Cancelled when player clicks away (or strong tasks) string/integer input dialogue, interfaces (for actions on closing)?

Originally posted by @GregHib in https://github.com/hestia-rsps/hestia/issues/46#issuecomment-562896956

Check if standard priority is for full screen only or game screen interfaces too.

GregHib commented 4 years ago

Standard priority applies to all screen interfaces