H7SynchRNG
Class in MMH7Game · MMH7Game.H7SynchRNG · native
Object › Actor › H7SynchRNG
Using it from Lua
h7.find_all("H7SynchRNG") -- live instances
h7.find_class("MMH7Game.H7SynchRNG") -- the class
h7.hook("MMH7Game.H7SynchRNG.GenerateSeed", fn)
Constants
| Name | Value |
SYNCHRNG_MIN_POOL_SIZE | 4096 |
SYNCHRNG_REFILL_SIZE | 8192 |
Properties
| Name | Type | Notes |
mCounter | int | protected |
mMinPoolSize | int | protected |
mRandomNumbersPool | array | protected |
Functions
| Name | Declaration |
GenerateSeed | protected native function int GenerateSeed() |
GetCounter | function int GetCounter() |
GetRandomFloat | function float GetRandomFloat() |
GetRandomInt | function int GetRandomInt(int Max) |
GetRandomIntNative | native function int GetRandomIntNative(int Max) |
GetRandomIntRange | function int GetRandomIntRange(int Min, int Max) |
Init | function Init() |
RefillPool | native function RefillPool(int synchSeed) |
SendRefillPool | protected native function SendRefillPool() |
SetCounter | function SetCounter(int newCounter) |
Default values
CollisionType=ECollisionType.COLLIDE_CustomDefault
Inherited
| From | Members |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |