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

Parameters

NameTypeSwift / C#
is_proboolisPro
free_uses_spentu32freeUsesSpent

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.