Interface IGangZonesComponent.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IGangZonesComponent.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
Create(GangZonePos)
Creates a new gang zone.
IGangZone Create(GangZonePos pos)
Parameters
posGangZonePosThe position/boundaries of the gang zone.
Returns
- IGangZone
The created gang zone, or
nullif creation failed.
FromLegacyID(int)
Converts a legacy gang zone ID to its real ID equivalent.
int FromLegacyID(int legacy)
Parameters
legacyintThe legacy gang zone ID.
Returns
- int
The real gang zone ID.
GetCheckingGangZones()
Gets the set of gang zones that have enter/leave checking enabled.
FlatPtrHashSet<IGangZone> GetCheckingGangZones()
Returns
- FlatPtrHashSet<IGangZone>
A collection of gang zones with checking enabled.
GetEventDispatcher()
Gets the event dispatcher for gang zone events.
IEventDispatcher<IGangZoneEventHandler> GetEventDispatcher()
Returns
- IEventDispatcher<IGangZoneEventHandler>
An event dispatcher for IGangZoneEventHandler events.
ReleaseLegacyID(int)
Releases a legacy gang zone ID that was previously reserved.
void ReleaseLegacyID(int legacy)
Parameters
legacyintThe legacy gang zone ID to release.
ReserveLegacyID()
Reserves an unused legacy gang zone ID.
int ReserveLegacyID()
Returns
- int
A reserved legacy gang zone ID.
SetLegacyID(int, int)
Assigns a real gang zone ID to a previously reserved legacy ID.
void SetLegacyID(int legacy, int real)
Parameters
ToLegacyID(int)
Converts a real gang zone ID to its legacy ID equivalent.
int ToLegacyID(int real)
Parameters
realintThe real gang zone ID.
Returns
- int
The legacy gang zone ID.
UseGangZoneCheck(IGangZone, bool)
Enables or disables enter/leave checking for a gang zone.
void UseGangZoneCheck(IGangZone zone, bool enable)