Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.WorldPalette
Game.WorldPalette 的协作图:

Public 成员函数

 WorldPalette ()
 WorldPalette (ValuesDictionary valuesDictionary)
ValuesDictionary Save ()
void CopyTo (WorldPalette palette)

静态 Public 成员函数

static bool VerifyColorName (string name)

Public 属性

Color[] Colors
string[] Names

静态 Public 属性

const int MaxColors = 16
const int MaxNameLength = 16
static readonly Color[] DefaultColors
const string fName = "WorldPalette"

详细描述

在文件 WorldPalette.cs6 行定义.

构造及析构函数说明

◆ WorldPalette() [1/2]

Game.WorldPalette.WorldPalette ( )

在文件 WorldPalette.cs33 行定义.

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

◆ WorldPalette() [2/2]

Game.WorldPalette.WorldPalette ( ValuesDictionary valuesDictionary)

在文件 WorldPalette.cs38 行定义.

函数调用图:

成员函数说明

◆ CopyTo()

void Game.WorldPalette.CopyTo ( WorldPalette palette)

在文件 WorldPalette.cs77 行定义.

函数调用图:

◆ Save()

ValuesDictionary Game.WorldPalette.Save ( )

在文件 WorldPalette.cs65 行定义.

函数调用图:

◆ VerifyColorName()

bool Game.WorldPalette.VerifyColorName ( string name)
static

在文件 WorldPalette.cs82 行定义.

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

类成员变量说明

◆ Colors

Color [] Game.WorldPalette.Colors

在文件 WorldPalette.cs29 行定义.

◆ DefaultColors

readonly Color [] Game.WorldPalette.DefaultColors
static
初始值:
= [
new(255, 255, 255),
new(181, 255, 255),
new(255, 181, 255),
new(160, 181, 255),
new(255, 240, 160),
new(181, 255, 181),
new(255, 181, 160),
new(181, 181, 181),
new(112, 112, 112),
new(32, 112, 112),
new(112, 32, 112),
new(26, 52, 128),
new(87, 54, 31),
new(24, 116, 24),
new(136, 32, 32),
new(24, 24, 24)
]

在文件 WorldPalette.cs10 行定义.

◆ fName

const string Game.WorldPalette.fName = "WorldPalette"
static

在文件 WorldPalette.cs31 行定义.

◆ MaxColors

const int Game.WorldPalette.MaxColors = 16
static

在文件 WorldPalette.cs7 行定义.

◆ MaxNameLength

const int Game.WorldPalette.MaxNameLength = 16
static

在文件 WorldPalette.cs8 行定义.

◆ Names

string [] Game.WorldPalette.Names

在文件 WorldPalette.cs30 行定义.


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