class Enlighten IPrecompSystemDependencies

This is the documentation for Enlighten.

class Enlighten IPrecompSystemDependencies

class Enlighten::IPrecompSystemDependencies

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

Handle to the SystemDependencies.

Functions

Name

Description

Name

Description

AddSystemDependency(const char *, const Geo::GeoGuid &)

Adds a manual dependency on the specified system.

Create()

Create a new empty IPrecompSystemDependencies to load data into.

Create(const Geo::GeoGuid &)

Create a new IPrecompSystemDependencies for the specified system.

GetBoundingBoxDistance(Geo::s32)

Returns the distance from entity's bounding box to system at idx bounding box.

GetId()

Return the unique ID of this system.

GetMinimumDistance(Geo::s32)

Returns the minimum distance to system at idx. Determined by the shortest ray cast from this system that hit the target.

GetNumSystemDependencies()

Returns the number of systems known about in this class.

GetSystemId(Geo::s32)

Returns the system ID of entry idx.

GetSystemName(Geo::s32)

Returns the system name of entry idx.

GetVisibility(Geo::s32)

Returns the visibility of entry idx (as a proportion of the rays cast).

IsLocal(Geo::s32)

Returns the true is system at idx is physically close (used for locality based dependencies)

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.



virtual void Enlighten::IPrecompSystemDependencies::AddSystemDependency


public: void AddSystemDependency
(
    const char * name,
    const Geo::GeoGuid & id
)


Adds a manual dependency on the specified system.



static IPrecompSystemDependencies* Enlighten::IPrecompSystemDependencies::Create


public: IPrecompSystemDependencies * Create()


Create a new empty IPrecompSystemDependencies to load data into.



static IPrecompSystemDependencies* Enlighten::IPrecompSystemDependencies::Create


public: IPrecompSystemDependencies * Create
(
    const Geo::GeoGuid & id
)


Create a new IPrecompSystemDependencies for the specified system.