Class GravSphereHandler
- Namespace
- Nautilus.Handlers
- Assembly
- Nautilus.dll
Allows registering objects to be affected by the Grav Trap.
public static class GravSphereHandler
- Inheritance
-
GravSphereHandler
- Inherited Members
Methods
AddAffectedTechType(TechType)
Allows objects with the TechType
techType to be grabbed by the Grav Trap.public static void AddAffectedTechType(TechType techType)
Parameters
techTypeTechType- The TechType of the item, creature, egg, etc. to include.
Remarks
In the base game, most small and medium creatures, outcrops, resources, crafting items, and eggs can be grabbed.
RemoveAffectedTechType(TechType)
Removes the given TechType from the collection of custom inclusions for the Grav Trap.
public static void RemoveAffectedTechType(TechType techType)
Parameters
techTypeTechType- The TechType to remove, which must have been previously registered.
Remarks
This method only removes TechTypes that were added through the GravSphereHandler class;
it cannot exclude default entries defined as part of the base game.