PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
Barrel_ColorBase Class Reference

Private Member Functions

override void InitItemVariables ()
 
override int GetDamageSystemVersionChange ()
 
override void EECargoIn (EntityAI item)
 
override void OnFreezeStateChangeServer ()
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
bool IsLocked ()
 
override void Open ()
 
void OpenLoad ()
 
override void Close ()
 
void CloseLoad ()
 
override bool IsOpen ()
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
protected void UpdateVisualState ()
 
override void OnVariablesSynchronized ()
 
void Lock (float actiontime)
 
void Unlock ()
 
void DetermineAction (PlayerBase player)
 
void ProduceFertilizer (ItemBase guts, ItemBase plant, PlayerBase player)
 
void TanPelts (ItemBase lime, PlayerBase player)
 
void ColourLeatherClothes (ItemBase color_source, PlayerBase player, string color)
 
void BleachClothes (ItemBase bleach, PlayerBase player)
 
void ColourClothes (ItemBase rci, ItemBase gci, ItemBase bci, PlayerBase player)
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanPutIntoHands (EntityAI parent)
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override bool CanReleaseCargo (EntityAI cargo)
 
override bool CanDetachAttachment (EntityAI parent)
 
override void InitItemSounds ()
 
override string GetDeploySoundset ()
 
string GetBarrelOpenSoundset ()
 
string GetBarrelCloseSoundset ()
 
override float GetLiquidThroughputCoef ()
 
override void SetActions ()
 
override void OnDebugSpawn ()
 
void SoundBarrelOpenPlay ()
 
void SoundBarrelClosePlay ()
 

Private Attributes

private bool m_IsLocked = false
 
private ref Timer m_BarrelOpener
 
protected ref RainProcurementComponentBarrel m_RainProcComponent
 
protected ref OpenableBehaviour m_Openable
 
ref RainProcurementManager m_RainProcurement
 

Member Function Documentation

◆ BleachClothes()

void BleachClothes ( ItemBase  bleach,
PlayerBase  player 
)
inlineprivate

◆ CanDetachAttachment()

override bool CanDetachAttachment ( EntityAI  parent)
inlineprivate

References GetNumberOfItems().

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI  parent)
inlineprivate

References GetNumberOfItems(), and IsOpen().

◆ CanPutIntoHands()

override bool CanPutIntoHands ( EntityAI  parent)
inlineprivate

References GetNumberOfItems(), and IsOpen().

◆ CanReceiveItemIntoCargo()

override bool CanReceiveItemIntoCargo ( EntityAI  item)
inlineprivate

References IsOpen().

◆ CanReleaseCargo()

override bool CanReleaseCargo ( EntityAI  cargo)
inlineprivate

References IsOpen().

◆ Close()

◆ CloseLoad()

◆ ColourClothes()

void ColourClothes ( ItemBase  rci,
ItemBase  gci,
ItemBase  bci,
PlayerBase  player 
)
inlineprivate

References Math::Clamp(), GetGame(), and Lock().

Referenced by DetermineAction().

◆ ColourLeatherClothes()

void ColourLeatherClothes ( ItemBase  color_source,
PlayerBase  player,
string  color 
)
inlineprivate

References GetGame(), and Lock().

Referenced by DetermineAction().

◆ DetermineAction()

◆ EECargoIn()

override void EECargoIn ( EntityAI  item)
inlineprivate

◆ GetBarrelCloseSoundset()

string GetBarrelCloseSoundset ( )
inlineprivate

◆ GetBarrelOpenSoundset()

string GetBarrelOpenSoundset ( )
inlineprivate

◆ GetDamageSystemVersionChange()

override int GetDamageSystemVersionChange ( )
inlineprivate

◆ GetDeploySoundset()

override string GetDeploySoundset ( )
inlineprivate

◆ GetLiquidThroughputCoef()

override float GetLiquidThroughputCoef ( )
inlineprivate

◆ InitItemSounds()

override void InitItemSounds ( )
inlineprivate

◆ InitItemVariables()

override void InitItemVariables ( )
inlineprivate

◆ IsLocked()

bool IsLocked ( )
inlineprivate

◆ IsOpen()

◆ Lock()

void Lock ( float  actiontime)
inlineprivate

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
inlineprivate

References SetQuantityMax().

◆ OnFreezeStateChangeServer()

override void OnFreezeStateChangeServer ( )
inlineprivate

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)
inlineprivate

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext  ctx)
inlineprivate

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprivate

References UpdateVisualState().

◆ OnWasAttached()

override void OnWasAttached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

References Open().

◆ OnWasDetached()

override void OnWasDetached ( EntityAI  parent,
int  slot_id 
)
inlineprivate

References Close().

◆ Open()

◆ OpenLoad()

◆ ProduceFertilizer()

void ProduceFertilizer ( ItemBase  guts,
ItemBase  plant,
PlayerBase  player 
)
inlineprivate

◆ SetActions()

override void SetActions ( )
inlineprivate

References AddAction().

◆ SoundBarrelClosePlay()

void SoundBarrelClosePlay ( )
private

◆ SoundBarrelOpenPlay()

void SoundBarrelOpenPlay ( )
private

◆ TanPelts()

void TanPelts ( ItemBase  lime,
PlayerBase  player 
)
inlineprivate

◆ Unlock()

void Unlock ( )
inlineprivate

References m_IsLocked, and Open().

◆ UpdateVisualState()

protected void UpdateVisualState ( )
inlineprivate

Field Documentation

◆ m_BarrelOpener

private ref Timer m_BarrelOpener
private

Referenced by InitItemVariables(), and Lock().

◆ m_IsLocked

private bool m_IsLocked = false
private

Referenced by IsLocked(), Lock(), and Unlock().

◆ m_Openable

protected ref OpenableBehaviour m_Openable
private

◆ m_RainProcComponent

protected ref RainProcurementComponentBarrel m_RainProcComponent
private

◆ m_RainProcurement

ref RainProcurementManager m_RainProcurement
private

Referenced by InitItemVariables().


The documentation for this class was generated from the following file: