Skip to content

H7HashRandom

Class in MMH7Game · MMH7Game.H7HashRandom · native

Object › H7HashRandom

Using it from Lua
h7.find_all("H7HashRandom")            -- live instances
h7.find_class("MMH7Game.H7HashRandom")   -- the class
h7.hook("MMH7Game.H7HashRandom.GenerateNewSeed", fn)

Properties

NameTypeNotes
mRandHashIndexintprivate
mSeedintprivate

Functions

NameDeclaration
GenerateNewSeednative function int GenerateNewSeed()
GetFloatNativenative function float GetFloatNative()
GetFloatNativeWithMaxnative function float GetFloatNativeWithMax(float Max)
GetIntNativenative function int GetIntNative(int Max)
GetIntRangeNativenative function int GetIntRangeNative(int Min, int Max)
GetRandHashnative function int GetRandHash(int Index, int MaxRange)
GetSeedfunction int GetSeed()
InitRandomnative function InitRandom(int newSeed)
SetSeedfunction SetSeed(int newSeed)

Inherited

FromMembers
Object13 properties, 308 functions