Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
miscgameplayfunctions.c File Reference

Go to the source code of this file.

Classes

class  ReplaceItemWithNewLambda
 adds automatic QuickBar handling More...
 
class  TurnItemIntoItemLambda
 
class  DropEquipAndDestroyRootLambda
 this one is a bit special: it drops all items and destroys the ex-root of the hierarchy More...
 
class  DestroyItemInCorpsesHandsAndCreateNewOnGndLambda
 

Enumerations

enum  TransferInventoryResult { Ok , DroppedSome }
 
enum  ThrowEntityFlags
 

Functions

class TurnItemIntoItemLambdaAnimSysNotifyLambda extends TurnItemIntoItemLambda OnSuccess (EntityAI new_item)
 
void DropEquipAndDestroyRootLambda (EntityAI old_item, string new_item_type, PlayerBase player)
 
override void CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item)
 
void MoveEquipToExistingItemAndDestroyOldRootLambda (EntityAI old_item, string new_item_type, PlayerBase player, EntityAI new_item)
 
void RemoveNetworkObjectInfo ()
 
void UndoRemoveNetworkObjectInfo ()
 
void CreateNetworkObjectInfo (EntityAI new_item)
 
enum ThrowEntityFlags Truncate (float value, int decimals=2)
 truncate float to specified precision
 
void IsObjectObstructedCache (vector rayCastStart, int totalObjects)
 
void ClearCache ()
 

Variables

PlayerBase m_Player
 
EntityAI m_NewItem
 
 NONE = 0
 
 SPLIT = 1
 
DestroyItemInCorpsesHandsAndCreateNewOnGndLambda RaycastStart = "0 0 0"
 
int TotalObjects = 0
 
vector ObjectCenterPos = "0 0 0"
 
vector ObjectContactPos = "0 0 0"
 
vector ObjectContactDir = "0 0 0"
 
int ContactComponent = -1
 
ref array< ref RaycastRVResultHitProxyObjects = new array<ref RaycastRVResult>
 
ref set< ObjectHitObjects = new set<Object>
 

Enumeration Type Documentation

◆ ThrowEntityFlags

enum ThrowEntityFlags
protected

Definition at line 207 of file miscgameplayfunctions.c.

◆ TransferInventoryResult

enum TransferInventoryResult
protected
Enumerator
Ok 
DroppedSome 

Definition at line 202 of file miscgameplayfunctions.c.

Function Documentation

◆ ClearCache()

void ClearCache ( )
protected

Definition at line 1951 of file miscgameplayfunctions.c.

◆ CopyOldPropertiesToNew()

override void MoveEquipToExistingItemAndDestroyOldRootLambda::CopyOldPropertiesToNew ( notnull EntityAI old_item,
EntityAI new_item )

We don't care if a valid transform couldn't be found, we just want to preferably use it instead of placing on the old item

Definition at line 124 of file miscgameplayfunctions.c.

◆ CreateNetworkObjectInfo()

void CreateNetworkObjectInfo ( EntityAI new_item)
protected

Definition at line 195 of file miscgameplayfunctions.c.

◆ DropEquipAndDestroyRootLambda()

void MoveEquipToExistingItemAndDestroyOldRootLambda::DropEquipAndDestroyRootLambda ( EntityAI old_item,
string new_item_type,
PlayerBase player )

Definition at line 119 of file miscgameplayfunctions.c.

◆ IsObjectObstructedCache()

void IsObjectObstructedCache ( vector rayCastStart,
int totalObjects )
protected

Definition at line 1944 of file miscgameplayfunctions.c.

◆ MoveEquipToExistingItemAndDestroyOldRootLambda()

void MoveEquipToExistingItemAndDestroyOldRootLambda ( EntityAI old_item,
string new_item_type,
PlayerBase player,
EntityAI new_item )

Definition at line 168 of file miscgameplayfunctions.c.

◆ OnSuccess()

class TurnItemIntoItemLambdaAnimSysNotifyLambda extends TurnItemIntoItemLambda OnSuccess ( EntityAI new_item)

Definition at line 91 of file miscgameplayfunctions.c.

◆ RemoveNetworkObjectInfo()

void RemoveNetworkObjectInfo ( )
protected

Definition at line 176 of file miscgameplayfunctions.c.

◆ Truncate()

enum ThrowEntityFlags Truncate ( float value,
int decimals = 2 )
protected

truncate float to specified precision

Definition at line 195 of file miscgameplayfunctions.c.

◆ UndoRemoveNetworkObjectInfo()

void UndoRemoveNetworkObjectInfo ( )
protected

Definition at line 181 of file miscgameplayfunctions.c.

Variable Documentation

◆ ContactComponent

int ContactComponent = -1
protected

Definition at line 1940 of file miscgameplayfunctions.c.

◆ HitObjects

ref set<Object> HitObjects = new set<Object>
protected

Definition at line 1942 of file miscgameplayfunctions.c.

◆ HitProxyObjects

ref array<ref RaycastRVResult> HitProxyObjects = new array<ref RaycastRVResult>
protected

Definition at line 1941 of file miscgameplayfunctions.c.

◆ m_NewItem

EntityAI m_NewItem

Definition at line 166 of file miscgameplayfunctions.c.

◆ m_Player

m_Player

Definition at line 117 of file miscgameplayfunctions.c.

◆ NONE

@ NONE = 0

Definition at line 217 of file miscgameplayfunctions.c.

◆ ObjectCenterPos

vector ObjectCenterPos = "0 0 0"
protected

Definition at line 1937 of file miscgameplayfunctions.c.

◆ ObjectContactDir

vector ObjectContactDir = "0 0 0"
protected

Definition at line 1939 of file miscgameplayfunctions.c.

◆ ObjectContactPos

vector ObjectContactPos = "0 0 0"
protected

Definition at line 1938 of file miscgameplayfunctions.c.

◆ RaycastStart

DestroyItemInCorpsesHandsAndCreateNewOnGndLambda RaycastStart = "0 0 0"
protected

◆ SPLIT

SPLIT = 1

Definition at line 218 of file miscgameplayfunctions.c.

◆ TotalObjects

int TotalObjects = 0
protected

Definition at line 1934 of file miscgameplayfunctions.c.