Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_ItemPlacementComponentClass |
Functions | |
SCR_ItemPlacementComponentClass ScriptComponentClass | Attribute ("{56EBF5038622AC95}Assets/Conflict/CanBuild.emat") |
void | RPC_AskPlaceItem (vector right, vector up, vector forward, vector position, RplId id) |
protected SCR_CharacterControllerComponent | GetCharacterController (IEntity from) |
protected void | UnregisterEvents (IEntity from) |
protected void | RegisterEvents (IEntity to) |
protected void | OnControlledEntityChanged (IEntity from, IEntity to) |
Runs every time the controlled entity has been changed. More... | |
protected void | NotifyItemPlacementDone (IEntity item) |
protected void | StartPlaceItem () |
void | OnPlacingEnded (IEntity item, bool successful, ItemUseParameters animParams) |
protected void | DisablePreview () |
protected void | EnablePreview (IEntity weapon) |
protected void | OnComparmentEntered (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
protected void | GetOnCompartmentLeft () |
IEntity | GetWeaponFromWeaponComponent (BaseWeaponComponent weaponComponent) |
protected void | OnWeaponChangeEnded (BaseWeaponComponent newWeaponSlot) |
protected void | OnWeaponChanged (BaseWeaponComponent newWeaponSlot) |
protected void | OnCharacterDeath (SCR_CharacterControllerComponent characterController, IEntity killerEntity, notnull Instigator killer) |
protected void | TogglePreview (IEntity weapon) |
protected override void | EOnFrame (IEntity owner, float timeSlice) |
void | UseXZFixedPlacement (IEntity owner, float maxPlacementDistance, vector cameraMat[4]) |
protected bool | ExcludeWaterCallback (IEntity e) |
void | UseXYZPlacement (IEntity owner, float maxPlacementDistance, vector cameraMat[4]) |
bool | ValidateEntity (notnull IEntity entity) |
bool | ValidatePlacement (vector up, IEntity tracedEntity, BaseWorld world, IEntity character) |
bool | TraceEntitiesCallback (notnull IEntity e, vector start="0 0 0", vector dir="0 0 0") |
void | OrientToNormal (vector normal) |
protected void | OnEditorOpened () |
protected void | OnEditorClosed () |
protected void | RegisterToManagerInvokers (SCR_EditorManagerEntity manager) |
protected override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
protected void | InitEditorListeners () |
protected override void | EOnInit (IEntity owner) |
void | SCR_ItemPlacementComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
Variables | |
Assets Conflict CannotBuild emat ResourceName | m_sCannotBuildMaterial |
int | m_iFramesBetweenChecks |
protected int | m_iEquipComplete |
protected bool | m_bCanPlace |
protected bool | m_bInEditor |
protected vector | m_vCurrentMat [4] |
protected IEntity | m_EquippedItem |
protected SCR_PlaceableItemComponent | m_PlaceableItem |
protected IEntity | m_PreviewEntity |
protected SCR_CompartmentAccessComponent | m_CompartmnetAccessComponent |
SCR_ItemPlacementComponentClass ScriptComponentClass Attribute | ( | "{56EBF5038622AC95}Assets/Conflict/CanBuild.emat" | ) |
Definition at line 8 of file SCR_ItemPlacementComponent.c.
protected void DisablePreview | ( | ) |
Definition at line 243 of file SCR_ItemPlacementComponent.c.
protected void EnablePreview | ( | IEntity | weapon | ) |
Definition at line 251 of file SCR_ItemPlacementComponent.c.
protected override void EOnFrame | ( | IEntity | owner, |
float | timeSlice | ||
) |
Definition at line 335 of file SCR_ItemPlacementComponent.c.
protected bool ExcludeWaterCallback | ( | IEntity | e | ) |
Definition at line 414 of file SCR_ItemPlacementComponent.c.
protected SCR_CharacterControllerComponent GetCharacterController | ( | IEntity | from | ) |
Definition at line 50 of file SCR_ItemPlacementComponent.c.
protected void GetOnCompartmentLeft | ( | ) |
Definition at line 285 of file SCR_ItemPlacementComponent.c.
IEntity GetWeaponFromWeaponComponent | ( | BaseWeaponComponent | weaponComponent | ) |
protected void InitEditorListeners | ( | ) |
Definition at line 603 of file SCR_ItemPlacementComponent.c.
protected void NotifyItemPlacementDone | ( | IEntity | item | ) |
Definition at line 136 of file SCR_ItemPlacementComponent.c.
protected void OnCharacterDeath | ( | SCR_CharacterControllerComponent | characterController, |
IEntity | killerEntity, | ||
notnull Instigator | killer | ||
) |
Definition at line 317 of file SCR_ItemPlacementComponent.c.
protected void OnComparmentEntered | ( | IEntity | targetEntity, |
BaseCompartmentManagerComponent | manager, | ||
int | mgrID, | ||
int | slotID, | ||
bool | move | ||
) |
Definition at line 279 of file SCR_ItemPlacementComponent.c.
protected void OnEditorClosed | ( | ) |
Definition at line 583 of file SCR_ItemPlacementComponent.c.
protected void OnEditorOpened | ( | ) |
Definition at line 576 of file SCR_ItemPlacementComponent.c.
void OnPlacingEnded | ( | IEntity | item, |
bool | successful, | ||
ItemUseParameters | animParams | ||
) |
Definition at line 200 of file SCR_ItemPlacementComponent.c.
protected void OnWeaponChanged | ( | BaseWeaponComponent | newWeaponSlot | ) |
Definition at line 310 of file SCR_ItemPlacementComponent.c.
protected void OnWeaponChangeEnded | ( | BaseWeaponComponent | newWeaponSlot | ) |
Definition at line 303 of file SCR_ItemPlacementComponent.c.
void OrientToNormal | ( | vector | normal | ) |
[in] | normal |
Definition at line 563 of file SCR_ItemPlacementComponent.c.
protected void RegisterEvents | ( | IEntity | to | ) |
Definition at line 88 of file SCR_ItemPlacementComponent.c.
protected void RegisterToManagerInvokers | ( | SCR_EditorManagerEntity | manager | ) |
Definition at line 590 of file SCR_ItemPlacementComponent.c.
void RPC_AskPlaceItem | ( | vector | right, |
vector | up, | ||
vector | forward, | ||
vector | position, | ||
RplId | id | ||
) |
id = id of items rpl component
[in] | right | |
[in] | up | |
[in] | forward | |
[in] | position | |
[in] | id |
Definition at line 34 of file SCR_ItemPlacementComponent.c.
void SCR_ItemPlacementComponent | ( | IEntityComponentSource | src, |
IEntity | ent, | ||
IEntity | parent | ||
) |
[in] | src | |
[in] | ent | |
[in] | parent |
Definition at line 640 of file SCR_ItemPlacementComponent.c.
protected void StartPlaceItem | ( | ) |
Definition at line 150 of file SCR_ItemPlacementComponent.c.
protected void TogglePreview | ( | IEntity | weapon | ) |
Definition at line 326 of file SCR_ItemPlacementComponent.c.
bool TraceEntitiesCallback | ( | notnull IEntity | e, |
vector | start = "0 0 0" , |
||
vector | dir = "0 0 0" |
||
) |
protected void UnregisterEvents | ( | IEntity | from | ) |
Definition at line 63 of file SCR_ItemPlacementComponent.c.
void UseXYZPlacement | ( | IEntity | owner, |
float | maxPlacementDistance, | ||
vector | cameraMat[4] | ||
) |
[in] | owner | |
[in] | maxPlacementDistance | |
[in] | cameraMat |
Definition at line 428 of file SCR_ItemPlacementComponent.c.
void UseXZFixedPlacement | ( | IEntity | owner, |
float | maxPlacementDistance, | ||
vector | cameraMat[4] | ||
) |
[in] | owner | |
[in] | maxPlacementDistance | |
[in] | cameraMat |
Definition at line 385 of file SCR_ItemPlacementComponent.c.
bool ValidateEntity | ( | notnull IEntity | entity | ) |
bool ValidatePlacement | ( | vector | up, |
IEntity | tracedEntity, | ||
BaseWorld | world, | ||
IEntity | character | ||
) |
[in] | up | |
[in] | tracedEntity | |
[in] | world | |
[in] | character |
Definition at line 515 of file SCR_ItemPlacementComponent.c.
protected bool m_bCanPlace |
Definition at line 18 of file SCR_ItemPlacementComponent.c.
protected bool m_bInEditor |
Definition at line 19 of file SCR_ItemPlacementComponent.c.
protected SCR_CompartmentAccessComponent m_CompartmnetAccessComponent |
Definition at line 24 of file SCR_ItemPlacementComponent.c.
protected IEntity m_EquippedItem |
Definition at line 21 of file SCR_ItemPlacementComponent.c.
protected int m_iEquipComplete |
Definition at line 17 of file SCR_ItemPlacementComponent.c.
int m_iFramesBetweenChecks |
Definition at line 15 of file SCR_ItemPlacementComponent.c.
protected SCR_PlaceableItemComponent m_PlaceableItem |
Definition at line 22 of file SCR_ItemPlacementComponent.c.
protected IEntity m_PreviewEntity |
Definition at line 23 of file SCR_ItemPlacementComponent.c.
Assets Conflict CannotBuild emat ResourceName m_sCannotBuildMaterial |
Definition at line 12 of file SCR_ItemPlacementComponent.c.
protected vector m_vCurrentMat[4] |
Definition at line 20 of file SCR_ItemPlacementComponent.c.