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

静态 Public 成员函数

static int GetTreeTrunkValue (TreeType treeType)
static int GetTreeLeavesValue (TreeType treeType)
static ReadOnlyList< TerrainBrush > GetTreeBrushes (TreeType treeType)
static int GenerateRandomPlantValue (Random random, int groundValue, int temperature, int humidity, int y)
static ? TreeType GenerateRandomTreeType (Random random, int temperature, int humidity, int y, float densityMultiplier=1f)
static float CalculateTreeDensity (TreeType treeType, int temperature, int humidity, int y)
static float CalculateTreeProbability (TreeType treeType, int temperature, int humidity, int y)
static float RangeProbability (float v, float a, float b, float c, float d)
static TerrainBrush CreateTreeBrush (Random random, int woodIndex, int leavesIndex, int height, int branchesCount, int leavesRounds, Func< int, int, float > leavesProbability, Func< int, float > branchesLength)
static TerrainBrush CreateMimosaBrush (Random random, float size)

静态 Public 属性

static List< TerrainBrush >[] m_treeBrushesByType
static int[] m_treeTrunksByType
static int[] m_treeLeavesByType

静态 Private 成员函数

static PlantsManager ()

详细描述

在文件 PlantsManager.cs 第 4 行定义.

构造及析构函数说明

◆ PlantsManager()

Game.PlantsManager.PlantsManager ( )
staticprivate

在文件 PlantsManager.cs 第 11 行定义.

函数调用图:

成员函数说明

◆ CalculateTreeDensity()

float Game.PlantsManager.CalculateTreeDensity ( TreeType treeType,
int temperature,
int humidity,
int y )
static

在文件 PlantsManager.cs 第 367 行定义.

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

◆ CalculateTreeProbability()

float Game.PlantsManager.CalculateTreeProbability ( TreeType treeType,
int temperature,
int humidity,
int y )
static

在文件 PlantsManager.cs 第 382 行定义.

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

◆ CreateMimosaBrush()

TerrainBrush Game.PlantsManager.CreateMimosaBrush ( Random random,
float size )
static

在文件 PlantsManager.cs 第 501 行定义.

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

◆ CreateTreeBrush()

TerrainBrush Game.PlantsManager.CreateTreeBrush ( Random random,
int woodIndex,
int leavesIndex,
int height,
int branchesCount,
int leavesRounds,
Func< int, int, float > leavesProbability,
Func< int, float > branchesLength )
static

在文件 PlantsManager.cs 第 423 行定义.

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

◆ GenerateRandomPlantValue()

int Game.PlantsManager.GenerateRandomPlantValue ( Random random,
int groundValue,
int temperature,
int humidity,
int y )
static

在文件 PlantsManager.cs 第 282 行定义.

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

◆ GenerateRandomTreeType()

? TreeType Game.PlantsManager.GenerateRandomTreeType ( Random random,
int temperature,
int humidity,
int y,
float densityMultiplier = 1f )
static

在文件 PlantsManager.cs 第 331 行定义.

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

◆ GetTreeBrushes()

ReadOnlyList< TerrainBrush > Game.PlantsManager.GetTreeBrushes ( TreeType treeType)
static

在文件 PlantsManager.cs 第 280 行定义.

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

◆ GetTreeLeavesValue()

int Game.PlantsManager.GetTreeLeavesValue ( TreeType treeType)
static

在文件 PlantsManager.cs 第 278 行定义.

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

◆ GetTreeTrunkValue()

int Game.PlantsManager.GetTreeTrunkValue ( TreeType treeType)
static

在文件 PlantsManager.cs 第 276 行定义.

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

◆ RangeProbability()

float Game.PlantsManager.RangeProbability ( float v,
float a,
float b,
float c,
float d )
static

在文件 PlantsManager.cs 第 407 行定义.

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

类成员变量说明

◆ m_treeBrushesByType

List<TerrainBrush> [] Game.PlantsManager.m_treeBrushesByType
static

在文件 PlantsManager.cs 第 5 行定义.

◆ m_treeLeavesByType

int [] Game.PlantsManager.m_treeLeavesByType
static

在文件 PlantsManager.cs 第 9 行定义.

◆ m_treeTrunksByType

int [] Game.PlantsManager.m_treeTrunksByType
static

在文件 PlantsManager.cs 第 7 行定义.


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