namespace TechbloxModdingAPI.Blocks
{
using RobocraftX.Common;
using Svelto.ECS;
public class Engine : SignalingBlock
{
///
/// Constructs a(n) Engine object representing an existing block.
///
public Engine(EGID egid) :
base(egid)
{
}
///
/// Constructs a(n) Engine object representing an existing block.
///
public Engine(uint id) :
base(new EGID(id, CommonExclusiveGroups.ENGINE_BLOCK_BUILD_GROUP))
{
}
/*
///
/// Gets or sets the Engine's On property. May not be saved.
///
public bool On
{
get
{
return BlockEngine.GetBlockInfo(this).engineOn;
}
set
{
Techblox.BlockColours.BlockColoursCompositionRoot
BlockEngine.GetBlockInfo(this).engineOn = value;
}
}
///
/// Gets or sets the Engine's CurrentGear property. May not be saved.
///
public int CurrentGear
{
get
{
return BlockEngine.GetBlockInfo(this).currentGear;
}
set
{
BlockEngine.GetBlockInfo(this).currentGear = value;
}
}
///
/// Gets or sets the Engine's GearChangeCountdown property. May not be saved.
///
public float GearChangeCountdown
{
get
{
return BlockEngine.GetBlockInfo(this).gearChangeCountdown;
}
set
{
BlockEngine.GetBlockInfo(this).gearChangeCountdown = value;
}
}
///
/// Gets or sets the Engine's CurrentRpmAV property. May not be saved.
///
public float CurrentRpmAV
{
get
{
return BlockEngine.GetBlockInfo(this).currentRpmAV;
}
set
{
BlockEngine.GetBlockInfo(this).currentRpmAV = value;
}
}
///
/// Gets or sets the Engine's CurrentRpmLV property. May not be saved.
///
public float CurrentRpmLV
{
get
{
return BlockEngine.GetBlockInfo(this).currentRpmLV;
}
set
{
BlockEngine.GetBlockInfo(this).currentRpmLV = value;
}
}
///
/// Gets or sets the Engine's TargetRpmAV property. May not be saved.
///
public float TargetRpmAV
{
get
{
return BlockEngine.GetBlockInfo(this).targetRpmAV;
}
set
{
BlockEngine.GetBlockInfo(this).targetRpmAV = value;
}
}
///
/// Gets or sets the Engine's TargetRpmLV property. May not be saved.
///
public float TargetRpmLV
{
get
{
return BlockEngine.GetBlockInfo(this).targetRpmLV;
}
set
{
BlockEngine.GetBlockInfo(this).targetRpmLV = value;
}
}
///
/// Gets or sets the Engine's CurrentTorque property. May not be saved.
///
public float CurrentTorque
{
get
{
return BlockEngine.GetBlockInfo(this).currentTorque;
}
set
{
BlockEngine.GetBlockInfo(this).currentTorque = value;
}
}
///
/// Gets or sets the Engine's TotalWheelVelocityAV property. May not be saved.
///
public float TotalWheelVelocityAV
{
get
{
return BlockEngine.GetBlockInfo(this).totalWheelVelocityAV;
}
set
{
BlockEngine.GetBlockInfo(this).totalWheelVelocityAV = value;
}
}
///
/// Gets or sets the Engine's TotalWheelVelocityLV property. May not be saved.
///
public float TotalWheelVelocityLV
{
get
{
return BlockEngine.GetBlockInfo(this).totalWheelVelocityLV;
}
set
{
BlockEngine.GetBlockInfo(this).totalWheelVelocityLV = value;
}
}
///
/// Gets or sets the Engine's TotalWheelCount property. May not be saved.
///
public int TotalWheelCount
{
get
{
return BlockEngine.GetBlockInfo(this).totalWheelCount;
}
set
{
BlockEngine.GetBlockInfo(this).totalWheelCount = value;
}
}
///
/// Gets or sets the Engine's LastGearUpInput property. May not be saved.
///
public bool LastGearUpInput
{
get
{
return BlockEngine.GetBlockInfo(this).lastGearUpInput;
}
set
{
BlockEngine.GetBlockInfo(this).lastGearUpInput = value;
}
}
///
/// Gets or sets the Engine's LastGearDownInput property. May not be saved.
///
public bool LastGearDownInput
{
get
{
return BlockEngine.GetBlockInfo(this).lastGearDownInput;
}
set
{
BlockEngine.GetBlockInfo(this).lastGearDownInput = value;
}
}
///
/// Gets or sets the Engine's ManualToAutoGearCoolOffCounter property. May not be saved.
///
public float ManualToAutoGearCoolOffCounter
{
get
{
return BlockEngine.GetBlockInfo(this).manualToAutoGearCoolOffCounter;
}
set
{
BlockEngine.GetBlockInfo(this).manualToAutoGearCoolOffCounter = value;
}
}
///
/// Gets or sets the Engine's Load property. May not be saved.
///
public float Load
{
get
{
return BlockEngine.GetBlockInfo(this).load;
}
set
{
BlockEngine.GetBlockInfo(this).load = value;
}
}
///
/// Gets or sets the Engine's Power property. Tweakable stat.
///
public float Power
{
get
{
return BlockEngine.GetBlockInfo(this).power;
}
set
{
BlockEngine.GetBlockInfo(this).power = value;
}
}
///
/// Gets or sets the Engine's AutomaticGears property. Tweakable stat.
///
public bool AutomaticGears
{
get
{
return BlockEngine.GetBlockInfo(this).automaticGears;
}
set
{
BlockEngine.GetBlockInfo(this).automaticGears = value;
}
}
///
/// Gets or sets the Engine's GearChangeTime property. May not be saved.
///
public float GearChangeTime
{
get
{
return BlockEngine.GetBlockInfo(this).gearChangeTime;
}
set
{
BlockEngine.GetBlockInfo(this).gearChangeTime = value;
}
}
///
/// Gets or sets the Engine's MinRpm property. May not be saved.
///
public float MinRpm
{
get
{
return BlockEngine.GetBlockInfo(this).minRpm;
}
set
{
BlockEngine.GetBlockInfo(this).minRpm = value;
}
}
///
/// Gets or sets the Engine's MaxRpm property. May not be saved.
///
public float MaxRpm
{
get
{
return BlockEngine.GetBlockInfo(this).maxRpm;
}
set
{
BlockEngine.GetBlockInfo(this).maxRpm = value;
}
}
///
/// Gets the Engine's GearDownRpms property. May not be saved.
///
public float[] GearDownRpms
{
get
{
return BlockEngine.GetBlockInfo(this).gearDownRpms.ToManagedArray();
}
}
///
/// Gets or sets the Engine's GearUpRpm property. May not be saved.
///
public float GearUpRpm
{
get
{
return BlockEngine.GetBlockInfo(this).gearUpRpm;
}
set
{
BlockEngine.GetBlockInfo(this).gearUpRpm = value;
}
}
///
/// Gets or sets the Engine's MaxRpmChange property. May not be saved.
///
public float MaxRpmChange
{
get
{
return BlockEngine.GetBlockInfo(this).maxRpmChange;
}
set
{
BlockEngine.GetBlockInfo(this).maxRpmChange = value;
}
}
///
/// Gets or sets the Engine's ManualToAutoGearCoolOffTime property. May not be saved.
///
public float ManualToAutoGearCoolOffTime
{
get
{
return BlockEngine.GetBlockInfo(this).manualToAutoGearCoolOffTime;
}
set
{
BlockEngine.GetBlockInfo(this).manualToAutoGearCoolOffTime = value;
}
}*/
}
}