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) -> Bool

Parameters

NameTypeSwift / C#
is_proboolisPro
free_uses_spentu32freeUsesSpent

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.