Files
Aurora.3/code/__DEFINES/smart_token_bucket.dm
Fluffy e867030c2e Update MC (#18112)
* sdf

* fsda

* fuck

* fuck2

* toolz

* sdaf

* sdfa

* saf

* sdfa

* sdfa

* sdf

* sdfa

* temp rename

* temp rename

* temp rename

* sdaf

* the pain is immensurable in the land of byond

* the curse of rah

* safd

* sadf

* sadf

* gf

* asf

* fssdfa

* sfd

* sadf

* sfda

* brah

* brah

* it's easier for you to fix this

* ffs

* brah

* brah
2024-01-06 17:03:57 +01:00

10 lines
490 B
Plaintext

///The source of the time to base the tokens calculations off
#define STB_REALTIMESOURCE world.timeofday
///All tokens have the same lifetime, set on the bucket
#define STB_MODE_FIXEDTTL BITFLAG(1)
///Each token can specify a different lifetime
#define STB_MODE_VARIABLETTL BITFLAG(2)
///Used to indicate that each token must expire on its own timer, rather than wait for the next operation on the bucket or the last token to expire to do something
#define STB_FLAG_LEAKYBUCKET BITFLAG(1)