Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.Random

Public 成员函数

 Random ()
 Random (int seed)
void Seed ()
void Seed (int seed)
int Sign ()
bool Bool ()
bool Bool (float probability)
uint UInt ()
int Int ()
int Int (int bound)
int Int (int min, int max)
float Float ()
float Float (float min, float max)
float NormalFloat (float mean, float stddev)
Vector2 Vector2 ()
Vector2 Vector2 (float length)
Vector2 Vector2 (float minLength, float maxLength)
Vector3 Vector3 ()
Vector3 Vector3 (float length)
Vector3 Vector3 (float minLength, float maxLength)

静态 Public 成员函数

static uint RotateLeft (uint x, int k)

Public 属性

uint m_s0
uint m_s1

静态 Public 属性

static int m_counter = (int)(Stopwatch.GetTimestamp() + DateTime.Now.Ticks)

属性

ulong State [get, set]

详细描述

在文件 Random.cs5 行定义.

构造及析构函数说明

◆ Random() [1/2]

Game.Random.Random ( )

在文件 Random.cs20 行定义.

函数调用图:

◆ Random() [2/2]

Game.Random.Random ( int seed)

在文件 Random.cs24 行定义.

函数调用图:

成员函数说明

◆ Bool() [1/2]

bool Game.Random.Bool ( )

在文件 Random.cs39 行定义.

这是这个函数的调用关系图:

◆ Bool() [2/2]

bool Game.Random.Bool ( float probability)

在文件 Random.cs41 行定义.

◆ Float() [1/2]

float Game.Random.Float ( )

在文件 Random.cs58 行定义.

这是这个函数的调用关系图:

◆ Float() [2/2]

float Game.Random.Float ( float min,
float max )

在文件 Random.cs60 行定义.

◆ Int() [1/3]

int Game.Random.Int ( )

在文件 Random.cs52 行定义.

◆ Int() [2/3]

int Game.Random.Int ( int bound)

在文件 Random.cs54 行定义.

◆ Int() [3/3]

int Game.Random.Int ( int min,
int max )

在文件 Random.cs56 行定义.

◆ NormalFloat()

float Game.Random.NormalFloat ( float mean,
float stddev )

在文件 Random.cs62 行定义.

函数调用图:

◆ RotateLeft()

uint Game.Random.RotateLeft ( uint x,
int k )
static

在文件 Random.cs116 行定义.

这是这个函数的调用关系图:

◆ Seed() [1/2]

void Game.Random.Seed ( )

在文件 Random.cs28 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Seed() [2/2]

void Game.Random.Seed ( int seed)

在文件 Random.cs32 行定义.

函数调用图:

◆ Sign()

int Game.Random.Sign ( )

在文件 Random.cs37 行定义.

◆ UInt()

uint Game.Random.UInt ( )

在文件 Random.cs43 行定义.

函数调用图:

◆ Vector2() [1/3]

Vector2 Game.Random.Vector2 ( )

在文件 Random.cs76 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Vector2() [2/3]

Vector2 Game.Random.Vector2 ( float length)

在文件 Random.cs94 行定义.

函数调用图:

◆ Vector2() [3/3]

Vector2 Game.Random.Vector2 ( float minLength,
float maxLength )

在文件 Random.cs96 行定义.

函数调用图:

◆ Vector3() [1/3]

Vector3 Game.Random.Vector3 ( )

在文件 Random.cs98 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Vector3() [2/3]

Vector3 Game.Random.Vector3 ( float length)

在文件 Random.cs112 行定义.

函数调用图:

◆ Vector3() [3/3]

Vector3 Game.Random.Vector3 ( float minLength,
float maxLength )

在文件 Random.cs114 行定义.

函数调用图:

类成员变量说明

◆ m_counter

int Game.Random.m_counter = (int)(Stopwatch.GetTimestamp() + DateTime.Now.Ticks)
static

在文件 Random.cs6 行定义.

◆ m_s0

uint Game.Random.m_s0

在文件 Random.cs8 行定义.

◆ m_s1

uint Game.Random.m_s1

在文件 Random.cs10 行定义.

属性说明

◆ State

ulong Game.Random.State
getset

在文件 Random.cs12 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/Random.cs