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.cs 第 6 行定义.

构造及析构函数说明

◆ WorldPalette() [1/2]

Game.WorldPalette.WorldPalette ( )

在文件 WorldPalette.cs 第 33 行定义.

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

◆ WorldPalette() [2/2]

Game.WorldPalette.WorldPalette ( ValuesDictionary valuesDictionary)

在文件 WorldPalette.cs 第 38 行定义.

函数调用图:

成员函数说明

◆ CopyTo()

void Game.WorldPalette.CopyTo ( WorldPalette palette)

在文件 WorldPalette.cs 第 77 行定义.

函数调用图:

◆ Save()

ValuesDictionary Game.WorldPalette.Save ( )

在文件 WorldPalette.cs 第 65 行定义.

函数调用图:

◆ VerifyColorName()

bool Game.WorldPalette.VerifyColorName ( string name)
static

在文件 WorldPalette.cs 第 82 行定义.

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

类成员变量说明

◆ Colors

Color [] Game.WorldPalette.Colors

在文件 WorldPalette.cs 第 29 行定义.

◆ 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.cs 第 10 行定义.

◆ fName

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

在文件 WorldPalette.cs 第 31 行定义.

◆ MaxColors

const int Game.WorldPalette.MaxColors = 16
static

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

◆ MaxNameLength

const int Game.WorldPalette.MaxNameLength = 16
static

在文件 WorldPalette.cs 第 8 行定义.

◆ Names

string [] Game.WorldPalette.Names

在文件 WorldPalette.cs 第 30 行定义.


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