DayZ 1.24
Loading...
Searching...
No Matches
Link< Class T > Class Reference

Private Member Functions

native void Init (T init)
 
native Object Get ()
 
void Release ()
 
void Link (T init)
 
T Ptr ()
 
bool IsNull ()
 

Detailed Description

Definition at line 361 of file proto.c.

Constructor & Destructor Documentation

◆ Link()

void Link< Class T >::Link ( T init)
inlineprivate

Definition at line 372 of file proto.c.

373 {
374 Init(init);
375 }
override Widget Init()
Definition DayZGame.c:120
enum MagnumStableStateID init

References Init(), and init.

Member Function Documentation

◆ Get()

native Object Link< Class T >::Get ( )
private

◆ Init()

native void Link< Class T >::Init ( T init)
private

◆ IsNull()

bool Link< Class T >::IsNull ( )
inlineprivate

Definition at line 382 of file proto.c.

383 {
384 if (!Get())
385 return true;
386
387 return false;
388 }

References Get().

◆ Ptr()

T Link< Class T >::Ptr ( )
inlineprivate

Definition at line 377 of file proto.c.

378 {
379 return Get();
380 }

References Get().

◆ Release()

void Link< Class T >::Release ( )
inlineprivate

Definition at line 366 of file proto.c.

367 {
368 T obj = Get();
369 if (obj)
370 obj.Release();
371 }

References Get().


The documentation for this class was generated from the following file: