Skip to content

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

NameValue
SYNCHRNG_MIN_POOL_SIZE4096
SYNCHRNG_REFILL_SIZE8192

Properties

NameTypeNotes
mCounterintprotected
mMinPoolSizeintprotected
mRandomNumbersPoolarrayprotected

Functions

NameDeclaration
GenerateSeedprotected native function int GenerateSeed()
GetCounterfunction int GetCounter()
GetRandomFloatfunction float GetRandomFloat()
GetRandomIntfunction int GetRandomInt(int Max)
GetRandomIntNativenative function int GetRandomIntNative(int Max)
GetRandomIntRangefunction int GetRandomIntRange(int Min, int Max)
Initfunction Init()
RefillPoolnative function RefillPool(int synchSeed)
SendRefillPoolprotected native function SendRefillPool()
SetCounterfunction SetCounter(int newCounter)

Default values

CollisionType=ECollisionType.COLLIDE_CustomDefault

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions