static */
| 24 | } |
| 25 | |
| 26 | /* static */ SQInteger ScriptBase::RandRange(SQInteger max) |
| 27 | { |
| 28 | max = Clamp<SQInteger>(max, 0, UINT32_MAX); |
| 29 | return ScriptObject::GetRandomizer().Next(max); |
| 30 | } |
| 31 | |
| 32 | /* static */ SQInteger ScriptBase::RandRangeItem(SQInteger, SQInteger max) |
| 33 | { |