C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Shared::GetReferenceCount

Defined in:  C4Shared.h
Returns an object's current reference count.
Prototype

int32 GetReferenceCount(voidconst;

Description
The GetReferenceCount function returns the current reference count. When a shared object is constructed, its initial reference count is 1.
See Also

Shared::Retain

Shared::Release