resonance 1.0.1
Loading...
Searching...
No Matches
attachment.h
Go to the documentation of this file.
1#pragma once
2
25public:
27 }
28
33 virtual ~Attachment();
34
42 int Release();
43
52 virtual void Destroy();
53
65 static void ReleaseIfSet(Attachment *pAttachment) {
66 if (pAttachment != nullptr) {
67 pAttachment->Release();
68 }
69 }
70
71 int mRefs; // +0x00
72};
int Release()
Give back one reference and destroy the object once the last one is gone.
int mRefs
Definition attachment.h:71
virtual ~Attachment()
virtual void Destroy()
Destroy the object.
static void ReleaseIfSet(Attachment *pAttachment)
Give back one reference to an object that may be null.
Definition attachment.h:65
Attachment()
Definition attachment.h:26