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

静态 Public 成员函数

static void AddClothingSlot (string name)
static void Initialize ()
static operator int (ClothingSlot slot)
static implicit operator ClothingSlot (int id)

Public 属性

int StableId
float BasicInsulation = 1e8f
string Name

静态 Public 属性

static Dictionary< string, ClothingSlotClothingSlots = new()
 调用自定义部位(比如手臂)的ClothingSlot,可以用ClothingSlot.ClothingSlots["Arms"]
static Dictionary< int, ClothingSlotClothingSlotsByInt = new()

属性

static ClothingSlot Head [get]
static ClothingSlot Torso [get]
static ClothingSlot Legs [get]
static ClothingSlot Feet [get]
virtual string MessageWhenLeastInsulated = string.Empty [get, set]

详细描述

在文件 ClothingSlot.cs2 行定义.

成员函数说明

◆ AddClothingSlot()

void Game.ClothingSlot.AddClothingSlot ( string name)
static

在文件 ClothingSlot.cs14 行定义.

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

◆ Initialize()

void Game.ClothingSlot.Initialize ( )
static

在文件 ClothingSlot.cs19 行定义.

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

◆ operator ClothingSlot()

implicit Game.ClothingSlot.operator ClothingSlot ( int id)
static

在文件 ClothingSlot.cs51 行定义.

◆ operator int()

Game.ClothingSlot.operator int ( ClothingSlot slot)
explicitstatic

在文件 ClothingSlot.cs50 行定义.

类成员变量说明

◆ BasicInsulation

float Game.ClothingSlot.BasicInsulation = 1e8f

在文件 ClothingSlot.cs44 行定义.

◆ ClothingSlots

Dictionary<string, ClothingSlot> Game.ClothingSlot.ClothingSlots = new()
static

调用自定义部位(比如手臂)的ClothingSlot,可以用ClothingSlot.ClothingSlots["Arms"]

在文件 ClothingSlot.cs6 行定义.

◆ ClothingSlotsByInt

Dictionary<int, ClothingSlot> Game.ClothingSlot.ClothingSlotsByInt = new()
static

在文件 ClothingSlot.cs8 行定义.

◆ Name

string Game.ClothingSlot.Name

在文件 ClothingSlot.cs46 行定义.

◆ StableId

int Game.ClothingSlot.StableId

在文件 ClothingSlot.cs42 行定义.

属性说明

◆ Feet

ClothingSlot Game.ClothingSlot.Feet
staticget

在文件 ClothingSlot.cs12 行定义.

◆ Head

ClothingSlot Game.ClothingSlot.Head
staticget

在文件 ClothingSlot.cs9 行定义.

◆ Legs

ClothingSlot Game.ClothingSlot.Legs
staticget

在文件 ClothingSlot.cs11 行定义.

◆ MessageWhenLeastInsulated

virtual string Game.ClothingSlot.MessageWhenLeastInsulated = string.Empty
getset

在文件 ClothingSlot.cs47 行定义.

◆ Torso

ClothingSlot Game.ClothingSlot.Torso
staticget

在文件 ClothingSlot.cs10 行定义.


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