|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| virtual ReadOnlyList< int > | GetClothes (ClothingSlot slot) |
| float | CalculateInsulationFromSlots () |
| virtual void | SetClothes (ClothingSlot slot, IEnumerable< int > clothes) |
| float | ApplyArmorProtection (float attackPower) |
| float | ApplyArmorProtection (Attackment attackment) |
| override void | Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap) |
| override void | Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap) |
| override void | Dispose () |
| virtual void | Update (float dt) |
| virtual int | GetSlotValue (int slotIndex) |
| virtual int | GetSlotCount (int slotIndex) |
| virtual int | GetSlotCapacity (int slotIndex, int value) |
| virtual int | GetSlotProcessCapacity (int slotIndex, int value) |
| virtual void | AddSlotItems (int slotIndex, int value, int count) |
| virtual void | ProcessSlotItems (int slotIndex, int value, int count, int processCount, out int processedValue, out int processedCount) |
| virtual int | RemoveSlotItems (int slotIndex, int count) |
| |
| virtual void | DropAllItems (Vector3 position) |
| virtual void | Display_DeviceReset () |
| virtual bool | CanWearClothing (int value) |
| virtual void | UpdateRenderTargets () |
| Public 成员函数 继承自 GameEntitySystem.Component | |
| virtual IEnumerable< Entity > | GetOwnedEntities () |
| virtual void | OnEntityAdded () |
| virtual void | OnEntityRemoved () |
| virtual void | InheritFromComponent (Component baseComponent) |
| virtual void | Initialize (Entity entity, ValuesDictionary valuesDictionary) |
静态 Public 属性 | |
| static string | fName = "ComponentClothing" |
| static List< ClothingSlot > | m_innerSlotsOrderList = [] |
| static List< ClothingSlot > | m_outerSlotsOrderList = [] |
| static bool | ShowClothedTexture = false |
| static bool | DrawClothedTexture = true |
属性 | |
| static ClothingSlot[] | m_innerSlotsOrder [get] |
| static ClothingSlot[] | m_outerSlotsOrder [get] |
| Texture2D | InnerClothedTexture [get] |
| Texture2D | OuterClothedTexture [get] |
| float | Insulation [get, set] |
| ClothingSlot | LeastInsulatedSlot [get, set] |
| float | SteedMovementSpeedFactor [get, set] |
| UpdateOrder | UpdateOrder [get] |
| Project IInventory. | Project [get] |
| int | SlotsCount [get] |
| int | VisibleSlotsCount [get, set] |
| int | ActiveSlotIndex [get, set] |
| 属性 继承自 GameEntitySystem.Component | |
| ValuesDictionary | ValuesDictionary [get] |
| Entity | Entity [get] |
| Project | Project [get] |
| bool | IsAddedToProject [get] |
| 属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
额外继承的成员函数 | |
| 包函数 继承自 GameEntitySystem.Component | |
| void | DisposeInternal () |
在文件 ComponentClothing.cs 第 8 行定义.
|
virtual |
实现了 Game.IInventory.
在文件 ComponentClothing.cs 第 438 行定义.
| float Game.ComponentClothing.ApplyArmorProtection | ( | Attackment | attackment | ) |
| float Game.ComponentClothing.ApplyArmorProtection | ( | float | attackPower | ) |
| float Game.ComponentClothing.CalculateInsulationFromSlots | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
实现了 Game.IInventory.
在文件 ComponentClothing.cs 第 411 行定义.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
重载 GameEntitySystem.Component .
在文件 ComponentClothing.cs 第 282 行定义.
|
virtual |
|
virtual |
|
virtual |
|
static |
在文件 ComponentClothing.cs 第 72 行定义.
| bool Game.ComponentClothing.EnableDressLimit |
穿戴衣服限制
在文件 ComponentClothing.cs 第 56 行定义.
|
static |
在文件 ComponentClothing.cs 第 58 行定义.
| Dictionary<ClothingSlot, float> Game.ComponentClothing.InsulationBySlots = [] |
在文件 ComponentClothing.cs 第 77 行定义.
| bool Game.ComponentClothing.m_clothedTexturesValid |
在文件 ComponentClothing.cs 第 51 行定义.
| Dictionary<ClothingSlot, List<int> > Game.ComponentClothing.m_clothes = [] |
在文件 ComponentClothing.cs 第 62 行定义.
| List<int> Game.ComponentClothing.m_clothesList = [] |
在文件 ComponentClothing.cs 第 60 行定义.
| ComponentBody Game.ComponentClothing.m_componentBody |
在文件 ComponentClothing.cs 第 25 行定义.
| ComponentGui Game.ComponentClothing.m_componentGui |
在文件 ComponentClothing.cs 第 21 行定义.
| ComponentHumanModel Game.ComponentClothing.m_componentHumanModel |
在文件 ComponentClothing.cs 第 23 行定义.
| ComponentLocomotion Game.ComponentClothing.m_componentLocomotion |
在文件 ComponentClothing.cs 第 31 行定义.
| ComponentOuterClothingModel Game.ComponentClothing.m_componentOuterClothingModel |
在文件 ComponentClothing.cs 第 27 行定义.
| ComponentPlayer Game.ComponentClothing.m_componentPlayer |
在文件 ComponentClothing.cs 第 33 行定义.
| ComponentVitalStats Game.ComponentClothing.m_componentVitalStats |
在文件 ComponentClothing.cs 第 29 行定义.
| float Game.ComponentClothing.m_densityModifierApplied |
在文件 ComponentClothing.cs 第 47 行定义.
| RenderTarget2D Game.ComponentClothing.m_innerClothedTexture |
在文件 ComponentClothing.cs 第 39 行定义.
|
static |
在文件 ComponentClothing.cs 第 66 行定义.
| double? Game.ComponentClothing.m_lastTotalElapsedGameTime |
在文件 ComponentClothing.cs 第 49 行定义.
| RenderTarget2D Game.ComponentClothing.m_outerClothedTexture |
在文件 ComponentClothing.cs 第 41 行定义.
|
static |
在文件 ComponentClothing.cs 第 68 行定义.
| PrimitivesRenderer2D Game.ComponentClothing.m_primitivesRenderer = new() |
在文件 ComponentClothing.cs 第 43 行定义.
| Random Game.ComponentClothing.m_random = new() |
在文件 ComponentClothing.cs 第 45 行定义.
| Texture2D Game.ComponentClothing.m_skinTexture |
在文件 ComponentClothing.cs 第 35 行定义.
| string Game.ComponentClothing.m_skinTextureName |
在文件 ComponentClothing.cs 第 37 行定义.
| SubsystemAudio Game.ComponentClothing.m_subsystemAudio |
在文件 ComponentClothing.cs 第 13 行定义.
| SubsystemGameInfo Game.ComponentClothing.m_subsystemGameInfo |
在文件 ComponentClothing.cs 第 9 行定义.
| SubsystemParticles Game.ComponentClothing.m_subsystemParticles |
在文件 ComponentClothing.cs 第 11 行定义.
| SubsystemPickables Game.ComponentClothing.m_subsystemPickables |
在文件 ComponentClothing.cs 第 19 行定义.
| SubsystemTerrain Game.ComponentClothing.m_subsystemTerrain |
在文件 ComponentClothing.cs 第 17 行定义.
| SubsystemTime Game.ComponentClothing.m_subsystemTime |
在文件 ComponentClothing.cs 第 15 行定义.
|
static |
在文件 ComponentClothing.cs 第 70 行定义.
|
getset |
实现了 Game.IInventory.
在文件 ComponentClothing.cs 第 95 行定义.
|
get |
在文件 ComponentClothing.cs 第 74 行定义.
|
getset |
在文件 ComponentClothing.cs 第 78 行定义.
|
getset |
在文件 ComponentClothing.cs 第 80 行定义.
|
staticget |
在文件 ComponentClothing.cs 第 63 行定义.
|
staticget |
在文件 ComponentClothing.cs 第 64 行定义.
|
get |
在文件 ComponentClothing.cs 第 75 行定义.
|
getprivate |
实现了 Game.IInventory.
在文件 ComponentClothing.cs 第 86 行定义.
|
get |
实现了 Game.IInventory.
在文件 ComponentClothing.cs 第 88 行定义.
|
getset |
在文件 ComponentClothing.cs 第 82 行定义.
|
get |
实现了 Game.IUpdateable.
在文件 ComponentClothing.cs 第 84 行定义.
|
getset |
实现了 Game.IInventory.
在文件 ComponentClothing.cs 第 90 行定义.