Reference · Rules and helpers · rules.rs
pro_may_use Function
A Pro choice may run now: subscribed, or a free use is left.
func proMayUse(isPro: Bool, freeUsesSpent: UInt32) -> Boolpublic static bool ProMayUse(bool isPro, uint freeUsesSpent)pub fn pro_may_use(is_pro: bool, free_uses_spent: u32) -> boolParameters
| Name | Type | Swift / C# |
|---|---|---|
is_pro | bool | isPro |
free_uses_spent | u32 | freeUsesSpent |
Returns
bool
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.