My Project v1
Project
载入中...
搜索中...
未找到
Game.ComponentClothing
类 Game.ComponentClothing 继承关系图:
Game.ComponentClothing 的协作图:

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 ()
 
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 成员函数 继承自 Game.IUpdateable
- Public 成员函数 继承自 Game.IInventory

Public 属性

SubsystemGameInfo m_subsystemGameInfo
 
SubsystemParticles m_subsystemParticles
 
SubsystemAudio m_subsystemAudio
 
SubsystemTime m_subsystemTime
 
SubsystemTerrain m_subsystemTerrain
 
SubsystemPickables m_subsystemPickables
 
ComponentGui m_componentGui
 
ComponentHumanModel m_componentHumanModel
 
ComponentBody m_componentBody
 
ComponentOuterClothingModel m_componentOuterClothingModel
 
ComponentVitalStats m_componentVitalStats
 
ComponentLocomotion m_componentLocomotion
 
ComponentPlayer m_componentPlayer
 
Texture2D m_skinTexture
 
string m_skinTextureName
 
RenderTarget2D m_innerClothedTexture
 
RenderTarget2D m_outerClothedTexture
 
PrimitivesRenderer2D m_primitivesRenderer = new()
 
Random m_random = new()
 
float m_densityModifierApplied
 
double? m_lastTotalElapsedGameTime
 
bool m_clothedTexturesValid
 
List< int > m_clothesList = []
 
Dictionary< ClothingSlot, List< int > > m_clothes = []
 
Dictionary< ClothingSlot, float > InsulationBySlots = []
 

静态 Public 属性

static string fName = "ComponentClothing"
 
static List< ClothingSlotm_innerSlotsOrderList = new List<ClothingSlot>()
 
static List< ClothingSlotm_outerSlotsOrderList = new List<ClothingSlot>()
 
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]
 
- 属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]
 
- 属性 继承自 Game.IInventory

成员函数说明

◆ AddSlotItems()

virtual void Game.ComponentClothing.AddSlotItems ( int slotIndex,
int value,
int count )
virtual

实现了 Game.IInventory.

◆ ApplyArmorProtection() [1/2]

float Game.ComponentClothing.ApplyArmorProtection ( Attackment attackment)
函数调用图:

◆ ApplyArmorProtection() [2/2]

float Game.ComponentClothing.ApplyArmorProtection ( float attackPower)
函数调用图:
这是这个函数的调用关系图:

◆ CalculateInsulationFromSlots()

float Game.ComponentClothing.CalculateInsulationFromSlots ( )
这是这个函数的调用关系图:

◆ CanWearClothing()

virtual bool Game.ComponentClothing.CanWearClothing ( int value)
virtual
函数调用图:
这是这个函数的调用关系图:

◆ Display_DeviceReset()

virtual void Game.ComponentClothing.Display_DeviceReset ( )
virtual
这是这个函数的调用关系图:

◆ Dispose()

override void Game.ComponentClothing.Dispose ( )
函数调用图:

◆ DropAllItems()

virtual void Game.ComponentClothing.DropAllItems ( Vector3 position)
virtual

实现了 Game.IInventory.

函数调用图:

◆ GetClothes()

virtual ReadOnlyList< int > Game.ComponentClothing.GetClothes ( ClothingSlot slot)
virtual
这是这个函数的调用关系图:

◆ GetSlotCapacity()

virtual int Game.ComponentClothing.GetSlotCapacity ( int slotIndex,
int value )
virtual

实现了 Game.IInventory.

◆ GetSlotCount()

virtual int Game.ComponentClothing.GetSlotCount ( int slotIndex)
virtual

实现了 Game.IInventory.

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

◆ GetSlotProcessCapacity()

virtual int Game.ComponentClothing.GetSlotProcessCapacity ( int slotIndex,
int value )
virtual

实现了 Game.IInventory.

函数调用图:

◆ GetSlotValue()

virtual int Game.ComponentClothing.GetSlotValue ( int slotIndex)
virtual

实现了 Game.IInventory.

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

◆ Load()

override void Game.ComponentClothing.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )
函数调用图:

◆ ProcessSlotItems()

virtual void Game.ComponentClothing.ProcessSlotItems ( int slotIndex,
int value,
int count,
int processCount,
out int processedValue,
out int processedCount )
virtual

实现了 Game.IInventory.

函数调用图:

◆ RemoveSlotItems()

virtual int Game.ComponentClothing.RemoveSlotItems ( int slotIndex,
int count )
virtual

实现了 Game.IInventory.

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

◆ Save()

override void Game.ComponentClothing.Save ( ValuesDictionary valuesDictionary,
EntityToIdMap entityToIdMap )

◆ SetClothes()

virtual void Game.ComponentClothing.SetClothes ( ClothingSlot slot,
IEnumerable< int > clothes )
virtual
函数调用图:
这是这个函数的调用关系图:

◆ Update()

void Game.ComponentClothing.Update ( float dt)

实现了 Game.IUpdateable.

函数调用图:

◆ UpdateRenderTargets()

virtual void Game.ComponentClothing.UpdateRenderTargets ( )
virtual
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ DrawClothedTexture

bool Game.ComponentClothing.DrawClothedTexture = true
static

◆ fName

string Game.ComponentClothing.fName = "ComponentClothing"
static

◆ InsulationBySlots

Dictionary<ClothingSlot, float> Game.ComponentClothing.InsulationBySlots = []

◆ m_clothedTexturesValid

bool Game.ComponentClothing.m_clothedTexturesValid

◆ m_clothes

Dictionary<ClothingSlot, List<int> > Game.ComponentClothing.m_clothes = []

◆ m_clothesList

List<int> Game.ComponentClothing.m_clothesList = []

◆ m_componentBody

ComponentBody Game.ComponentClothing.m_componentBody

◆ m_componentGui

ComponentGui Game.ComponentClothing.m_componentGui

◆ m_componentHumanModel

ComponentHumanModel Game.ComponentClothing.m_componentHumanModel

◆ m_componentLocomotion

ComponentLocomotion Game.ComponentClothing.m_componentLocomotion

◆ m_componentOuterClothingModel

ComponentOuterClothingModel Game.ComponentClothing.m_componentOuterClothingModel

◆ m_componentPlayer

ComponentPlayer Game.ComponentClothing.m_componentPlayer

◆ m_componentVitalStats

ComponentVitalStats Game.ComponentClothing.m_componentVitalStats

◆ m_densityModifierApplied

float Game.ComponentClothing.m_densityModifierApplied

◆ m_innerClothedTexture

RenderTarget2D Game.ComponentClothing.m_innerClothedTexture

◆ m_innerSlotsOrderList

List<ClothingSlot> Game.ComponentClothing.m_innerSlotsOrderList = new List<ClothingSlot>()
static

◆ m_lastTotalElapsedGameTime

double? Game.ComponentClothing.m_lastTotalElapsedGameTime

◆ m_outerClothedTexture

RenderTarget2D Game.ComponentClothing.m_outerClothedTexture

◆ m_outerSlotsOrderList

List<ClothingSlot> Game.ComponentClothing.m_outerSlotsOrderList = new List<ClothingSlot>()
static

◆ m_primitivesRenderer

PrimitivesRenderer2D Game.ComponentClothing.m_primitivesRenderer = new()

◆ m_random

Random Game.ComponentClothing.m_random = new()

◆ m_skinTexture

Texture2D Game.ComponentClothing.m_skinTexture

◆ m_skinTextureName

string Game.ComponentClothing.m_skinTextureName

◆ m_subsystemAudio

SubsystemAudio Game.ComponentClothing.m_subsystemAudio

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentClothing.m_subsystemGameInfo

◆ m_subsystemParticles

SubsystemParticles Game.ComponentClothing.m_subsystemParticles

◆ m_subsystemPickables

SubsystemPickables Game.ComponentClothing.m_subsystemPickables

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentClothing.m_subsystemTerrain

◆ m_subsystemTime

SubsystemTime Game.ComponentClothing.m_subsystemTime

◆ ShowClothedTexture

bool Game.ComponentClothing.ShowClothedTexture = false
static

属性说明

◆ ActiveSlotIndex

int Game.ComponentClothing.ActiveSlotIndex
getset

实现了 Game.IInventory.

◆ InnerClothedTexture

Texture2D Game.ComponentClothing.InnerClothedTexture
get

◆ Insulation

float Game.ComponentClothing.Insulation
getset

◆ LeastInsulatedSlot

ClothingSlot Game.ComponentClothing.LeastInsulatedSlot
getset

◆ m_innerSlotsOrder

ClothingSlot [] Game.ComponentClothing.m_innerSlotsOrder
staticget

◆ m_outerSlotsOrder

ClothingSlot [] Game.ComponentClothing.m_outerSlotsOrder
staticget

◆ OuterClothedTexture

Texture2D Game.ComponentClothing.OuterClothedTexture
get

◆ Project

Project IInventory. Game.ComponentClothing.Project
getprivate

实现了 Game.IInventory.

◆ SlotsCount

int Game.ComponentClothing.SlotsCount
get

实现了 Game.IInventory.

◆ SteedMovementSpeedFactor

float Game.ComponentClothing.SteedMovementSpeedFactor
getset

◆ UpdateOrder

UpdateOrder Game.ComponentClothing.UpdateOrder
get

实现了 Game.IUpdateable.

◆ VisibleSlotsCount

int Game.ComponentClothing.VisibleSlotsCount
getset

实现了 Game.IInventory.


该类的文档由以下文件生成: