|
bool | IsValid () |
|
int | GetOutfitFactionDataArray (out notnull array< SCR_OutfitFactionData > outfitValues) |
| Get Outfit data array.
|
|
int | GetOutfitValueOfFaction (notnull Faction faction) |
| Get specific outfit value of faction (Will return the first valid found) param[in] faction Faction to find data of return Found value (Can be null)
|
|
void | OnAddedToSlot (notnull SCR_CharacterFactionAffiliationComponent characterFactionAffiliationComponent, bool updateFaction=true) |
| Called when an item with this component is added to a character inventory param[in] characterFactionAffiliationComponent The Faction component to add itself to param[in] updateFaction If the faction should be updated and replicated when the item is added (Set false and do a recalculation in the end if it is multiple at one)
|
|
void | OnRemovedFromSlot (notnull SCR_CharacterFactionAffiliationComponent characterFactionAffiliationComponent, bool updateFaction=true) |
| Called when an item with this component is removed from a character inventory param[in] characterFactionAffiliationComponent The Faction component to remove itself from param[in] updateFaction If the faction should be updated and replicated when the item is removed (Set false and do a recalculation in the end if it is multiple at one)
|
|
override void | EOnInit (IEntity owner) |
|
override void | OnPostInit (IEntity owner) |
|
◆ EOnInit()
override void SCR_ItemOutfitFactionComponent.EOnInit |
( |
IEntity | owner | ) |
|
◆ GetOutfitFactionDataArray()
int SCR_ItemOutfitFactionComponent.GetOutfitFactionDataArray |
( |
out notnull array< SCR_OutfitFactionData > | outfitValues | ) |
|
Get Outfit data array.
- Parameters
-
[in] | outfitValues | Array to add data to (Will be cleared) |
- Returns
- Array Count
◆ GetOutfitValueOfFaction()
int SCR_ItemOutfitFactionComponent.GetOutfitValueOfFaction |
( |
notnull Faction | faction | ) |
|
Get specific outfit value of faction (Will return the first valid found) param[in] faction Faction to find data of return Found value (Can be null)
◆ Init()
void SCR_ItemOutfitFactionComponent.Init |
( |
| ) |
|
|
protected |
◆ IsValid()
bool SCR_ItemOutfitFactionComponent.IsValid |
( |
| ) |
|
- Returns
- True if data on component is valid
◆ OnAddedToSlot()
Called when an item with this component is added to a character inventory param[in] characterFactionAffiliationComponent The Faction component to add itself to param[in] updateFaction If the faction should be updated and replicated when the item is added (Set false and do a recalculation in the end if it is multiple at one)
◆ OnPostInit()
override void SCR_ItemOutfitFactionComponent.OnPostInit |
( |
IEntity | owner | ) |
|
◆ OnRemovedFromSlot()
Called when an item with this component is removed from a character inventory param[in] characterFactionAffiliationComponent The Faction component to remove itself from param[in] updateFaction If the faction should be updated and replicated when the item is removed (Set false and do a recalculation in the end if it is multiple at one)
◆ m_bInitCalled
bool SCR_ItemOutfitFactionComponent.m_bInitCalled |
|
protected |
◆ m_OutfitDataHolder
The documentation for this interface was generated from the following file:
- Game/Inventory/SCR_ItemOutfitFactionComponent.c