Module eos_rs::api::random

source ·
Expand description

Functions for generating random numbers.

Functions

  • Gets the game’s general PRNG seed.
  • Generates a random number between the beginning and end of the range. If the range is unbounded, min and/or max values are bound to [i32::MIN] and [i32::MAX] respectively.
  • Generates a random number between the beginning and end of the range. If the range is unbounded, min and/or max values are bound to 0 ([u16::MIN]) and [u16::MAX] respectively.
  • Sets the games general PRNG seed.