Infohazard.Core 1.4.1
Infohazard Core Utility Library
Loading...
Searching...
No Matches
Infohazard.Core.IPersistedInstance Interface Reference

This is a hack so that PoolManager can send messages to PersistedGameObjects. More...

Public Member Functions

void SetupDynamicInstance (ulong persistedInstanceID)
 Initialize the current object as a new persisted instance with the given ID. More...
 
void RegisterDestroyed ()
 Remove the current object from persistence. More...
 

Detailed Description

This is a hack so that PoolManager can send messages to PersistedGameObjects.

There is likely no need to use this interface yourself.

Member Function Documentation

◆ RegisterDestroyed()

void Infohazard.Core.IPersistedInstance.RegisterDestroyed ( )

Remove the current object from persistence.

◆ SetupDynamicInstance()

void Infohazard.Core.IPersistedInstance.SetupDynamicInstance ( ulong  persistedInstanceID)

Initialize the current object as a new persisted instance with the given ID.

Parameters
persistedInstanceIDThe instance ID to use.

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