Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
AttachmentSlotComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class AttachmentSlotComponentClass: BaseAttachmentSlotComponentClass
13 {
14 }
15 
16 class AttachmentSlotComponent: BaseAttachmentSlotComponent
17 {
18  proto external void SetAttachment(IEntity attachmentEntity);
19  proto external IEntity GetAttachedEntity();
22  proto external bool CanSetAttachment(IEntity attachmentEntity);
28  proto external bool IsObstructing();
30  proto external bool ShouldShowInInspection();
31 
32  // callbacks
33 
34  event bool ShouldSetAttachment(IEntity attachmentEntity) { return true; };
35  event bool ShouldSetResource(Resource resource) { return true; };
36 }
37 
BaseAttachmentType
Definition: BaseAttachmentType.c:12
ShouldSetResource
event bool ShouldSetResource(Resource resource)
Definition: AttachmentSlotComponent.c:35
AttachmentSlotComponentClass
Definition: AttachmentSlotComponent.c:12
GetAttachedEntity
proto external IEntity GetAttachedEntity()
IsObstructing
proto external bool IsObstructing()
ShouldShowInInspection
proto external bool ShouldShowInInspection()
Is this slot should show during inspection.
SetAttachment
AttachmentSlotComponentClass BaseAttachmentSlotComponentClass SetAttachment(IEntity attachmentEntity)
ShouldSetAttachment
event bool ShouldSetAttachment(IEntity attachmentEntity)
Definition: AttachmentSlotComponent.c:34
GetAttachmentSlotType
proto external BaseAttachmentType GetAttachmentSlotType()
CanSetAttachment
proto external bool CanSetAttachment(IEntity attachmentEntity)
Is entity compatible to be attached to this slot?