Reference · Rules and helpers · rules.rs
pro_free_left Function
Free Pro uses left (0 for subscribers: they need none).
func proFreeLeft(isPro: Bool, freeUsesSpent: UInt32) -> UInt32public static uint ProFreeLeft(bool isPro, uint freeUsesSpent)pub fn pro_free_left(is_pro: bool, free_uses_spent: u32) -> u32Parameters
| Name | Type | Swift / C# |
|---|---|---|
is_pro | bool | isPro |
free_uses_spent | u32 | freeUsesSpent |
Returns
u32
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.