GearLib
Loading...
Searching...
No Matches
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 123]
 CAttribute
 CGearLib.API.Fields.IFieldInterface for adding properties to their Part Behaviour in game for players. This uses the built-in existing properties available on Parts to customize them.
MODDERS: Do not use this. Instead, use the other fields inheriting from this. Example below on how to use these fields:
[IntField(label = "Timing", tooltip_text = "Offset degrees from TDC to fire piston", initial_value = 5, minimum_value = -30, maximum_value = 30)] public int timing;
 CGearLib.API.Fields.BooleanFieldA Boolean property for your Behaviour
 CGearLib.API.Fields.FloatFieldA Float property for your Behaviour
 CGearLib.API.Fields.InputFieldA Input property for your Behaviour. This is for Keyboard inputs
 CGearLib.API.Fields.IntFieldA Integer property for your Behaviour
 CGearLib.API.Fields.JoystickFieldA Joystick property for your Behaviour. Utilizes the base game functionality with controllers
 CGearLib.API.Fields.StringFieldA String property for your Behaviour
 CGearLib.API.LinkTypeBase class for a new Link Type in the game. Allows your mod Parts to connect together
 CGearLib.API.Material
 CIl2CppSystem.Object
 CGearLib.API.Lua.LuaAttachment
 CGearLib.API.Lua.LuaCollider
 CGearLib.API.Lua.LuaConstruction
 CGearLib.API.Lua.LuaDataChannel
 CGearLib.API.Lua.LuaDataChannelValue
 CGearLib.API.Lua.LuaDebug
 CGearLib.API.Lua.LuaPart
 CGearLib.API.Lua.LuaRigidbody
 CGearLib.API.Lua.LuaScript
 CGearLib.API.Lua.LuaTransform
 CGearLib.API.Lua.LuaVariables
 CGearLib.API.Lua.LuaVector3
 CGearLib.API.Lua.Tweakables.LuaInputAction
 CGearLib.API.PartBase class to use when creating a new Part.

These can be created using:
Part new_part = new Part(args);

or by inheriting like so:
class NewPart : Part
{
public NewPart() : base(args)
{
// Your code here
}
}
 CPartBehaviourActivatableBase
 CGearLib.API.BehaviourBase class for a Behaviour to attach to your Part. Ideal usage is inheriting from this class (public class MyBehaviour : Behaviour {})