Skip to content

Commit 04d2590

Browse files
author
KSP2Redux CI Bot
committed
Deploy docs for develop to develop [skip ci]
1 parent fb31d45 commit 04d2590

12 files changed

Lines changed: 70846 additions & 6065 deletions

develop/AssemblyCSharp/GlobalAssemblyCSharp.VersionID.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h4 id="GlobalAssemblyCSharp_VersionID_DEBUG_INFO" data-uid="GlobalAssemblyCShar
128128
<div class="markdown level1 conceptual"></div>
129129
<h5 class="declaration">Declaration</h5>
130130
<div class="codewrapper">
131-
<pre><code class="lang-csharp hljs">public const string DEBUG_INFO = &quot;a5c10e10&quot;</code></pre>
131+
<pre><code class="lang-csharp hljs">public const string DEBUG_INFO = &quot;958f8481&quot;</code></pre>
132132
</div>
133133
<h5 class="fieldValue">Field Value</h5>
134134
<table class="table table-bordered table-condensed">
@@ -152,7 +152,7 @@ <h4 id="GlobalAssemblyCSharp_VersionID_VERSION_TEXT" data-uid="GlobalAssemblyCSh
152152
<div class="markdown level1 conceptual"></div>
153153
<h5 class="declaration">Declaration</h5>
154154
<div class="codewrapper">
155-
<pre><code class="lang-csharp hljs">public const string VERSION_TEXT = &quot;0.2.3.0.101974&quot;</code></pre>
155+
<pre><code class="lang-csharp hljs">public const string VERSION_TEXT = &quot;0.2.3.0.101976&quot;</code></pre>
156156
</div>
157157
<h5 class="fieldValue">Field Value</h5>
158158
<table class="table table-bordered table-condensed">

develop/AssemblyCSharp/KSP.Modules.Module_SolarPanel.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,8 @@ <h5 class="overrides">Overrides</h5>
451451

452452
<a id="KSP_Modules_Module_SolarPanel_CalculateTrackingLOS_" data-uid="KSP.Modules.Module_SolarPanel.CalculateTrackingLOS*"></a>
453453
<h4 id="KSP_Modules_Module_SolarPanel_CalculateTrackingLOS_UnityEngine_Vector3_System_String__" data-uid="KSP.Modules.Module_SolarPanel.CalculateTrackingLOS(UnityEngine.Vector3,System.String@)">CalculateTrackingLOS(Vector3, ref string)</h4>
454-
<div class="markdown level1 summary"></div>
454+
<div class="markdown level1 summary"><p>Evaluates line-of-sight (LOS) between the solar panel and its tracking target.</p>
455+
</div>
455456
<div class="markdown level1 conceptual"></div>
456457
<h5 class="declaration">Declaration</h5>
457458
<div class="codewrapper">
@@ -470,12 +471,14 @@ <h5 class="parameters">Parameters</h5>
470471
<tr>
471472
<td><span class="xref">Vector3</span></td>
472473
<td><span class="parametername">trackingDirection</span></td>
473-
<td></td>
474+
<td><p>The normalized vector toward the light source.</p>
475+
</td>
474476
</tr>
475477
<tr>
476478
<td><span class="xref">string</span></td>
477479
<td><span class="parametername">blocker</span></td>
478-
<td></td>
480+
<td><p>Output string identifying the obstructing object (Body, Terrain, or Part).</p>
481+
</td>
479482
</tr>
480483
</tbody>
481484
</table>
@@ -490,12 +493,22 @@ <h5 class="returns">Returns</h5>
490493
<tbody>
491494
<tr>
492495
<td><span class="xref">bool</span></td>
493-
<td></td>
496+
<td><p>True if the panel is receiving light; false if obstructed.</p>
497+
</td>
494498
</tr>
495499
</tbody>
496500
</table>
497501
<h5 class="overrides">Overrides</h5>
498502
<div><a class="xref" href="KSP.Modules.Module_Deployable.html#KSP_Modules_Module_Deployable_CalculateTrackingLOS_UnityEngine_Vector3_System_String__">Module_Deployable.CalculateTrackingLOS(Vector3, ref string)</a></div>
503+
<h5 id="KSP_Modules_Module_SolarPanel_CalculateTrackingLOS_UnityEngine_Vector3_System_String___remarks">Remarks</h5>
504+
<div class="markdown level1 remarks"><p>Logic flow:</p>
505+
<ol>
506+
<li>Checks for simulated orbital occlusion (SimBlockingBody).</li>
507+
<li>Validates panel orientation relative to the light source (Incidence Angle).</li>
508+
<li>Performs a physical Raycast to detect terrain (PQSRenderer) or vessel self-shadowing (PartBehavior).</li>
509+
<li>Updates localization strings for the UI display.</li>
510+
</ol>
511+
</div>
499512

500513

501514
<a id="KSP_Modules_Module_SolarPanel_GetModuleDisplayName_" data-uid="KSP.Modules.Module_SolarPanel.GetModuleDisplayName*"></a>

develop/index.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5007,7 +5007,7 @@
50075007
"AssemblyCSharp/GlobalAssemblyCSharp.VersionID.html": {
50085008
"href": "AssemblyCSharp/GlobalAssemblyCSharp.VersionID.html",
50095009
"title": "Class VersionID | KSP2Redux API (Develop)",
5010-
"summary": "Class VersionID Stores version identity constants for the current build, including the version text, debug hash, and release channel name. Inheritance object VersionID Namespace: GlobalAssemblyCSharp Assembly: Assembly-CSharp.dll Syntax public static class VersionID Fields CHANNEL_NAME Declaration public const string CHANNEL_NAME = \"internal\" Field Value Type Description string DEBUG_INFO Declaration public const string DEBUG_INFO = \"a5c10e10\" Field Value Type Description string VERSION_TEXT Declaration public const string VERSION_TEXT = \"0.2.3.0.101974\" Field Value Type Description string"
5010+
"summary": "Class VersionID Stores version identity constants for the current build, including the version text, debug hash, and release channel name. Inheritance object VersionID Namespace: GlobalAssemblyCSharp Assembly: Assembly-CSharp.dll Syntax public static class VersionID Fields CHANNEL_NAME Declaration public const string CHANNEL_NAME = \"internal\" Field Value Type Description string DEBUG_INFO Declaration public const string DEBUG_INFO = \"958f8481\" Field Value Type Description string VERSION_TEXT Declaration public const string VERSION_TEXT = \"0.2.3.0.101976\" Field Value Type Description string"
50115011
},
50125012
"AssemblyCSharp/GlobalAssemblyCSharp.VersionedBase.html": {
50135013
"href": "AssemblyCSharp/GlobalAssemblyCSharp.VersionedBase.html",
@@ -14187,7 +14187,7 @@
1418714187
"AssemblyCSharp/KSP.Modules.Module_SolarPanel.html": {
1418814188
"href": "AssemblyCSharp/KSP.Modules.Module_SolarPanel.html",
1418914189
"title": "Class Module_SolarPanel | KSP2Redux API (Develop)",
14190-
"summary": "Class Module_SolarPanel PartBehaviourModule for the solar panel module, using Data_SolarPanel and backed by PartComponentModule_SolarPanel. Inheritance object KerbalMonoBehaviour PartBehaviourModule Module_Deployable Module_SolarPanel Implements IPartModule IFixedUpdate IPriorityOverride IUpdate IObjectAssemblyPartModule IMultipleDragCube ILateUpdate Inherited Members Module_Deployable.DRAGCUBE_PACKED_NAME Module_Deployable.DRAGCUBE_RETRACTED_NAME Module_Deployable.DRAGCUBE_EXTENDED_NAME Module_Deployable.EPSILON Module_Deployable.DefaultDragCubeNames Module_Deployable.dataDeployable Module_Deployable.animator Module_Deployable.panelRotationTransform Module_Deployable.secondaryTransform Module_Deployable.hasPivot Module_Deployable.trackingBody Module_Deployable.trackingTransform Module_Deployable.dragCubeNames Module_Deployable._trackingLOS Module_Deployable._blockingObject Module_Deployable._actionPendingCompletion Module_Deployable._actionExtend Module_Deployable.OnEnable() Module_Deployable.OnInitializeVisuals() Module_Deployable.OnModuleFixedUpdate(float) Module_Deployable.UpdateDeployment(float) Module_Deployable.UpdateAerodynamics() Module_Deployable.OnLateUpdate() Module_Deployable.UpdateDeployStateToFullStop() Module_Deployable.OnToggleExtendChanged(bool) Module_Deployable.Extend() Module_Deployable.Retract() Module_Deployable.HasTrackerReturnedToOrigin(float) Module_Deployable.OnAnimStateEnter(Animator, int) Module_Deployable.GetTrackingBodyTransformFrame() Module_Deployable.SetDeployActionAvailability(bool, bool) Module_Deployable.CalculateTracking(float) Module_Deployable.GetDragCubeNames() Module_Deployable.AssumeDragCubePosition(string) Module_Deployable.UsesProceduralDragCubes() Module_Deployable.IsMultipleCubesActive Module_Deployable.CurrentAnimNormalizedTime PartBehaviourModule.DataModules PartBehaviourModule.ModuleActions PartBehaviourModule.ThermalUpdate(double) PartBehaviourModule.GetInfo() PartBehaviourModule.IsStageable() PartBehaviourModule.OnActive() PartBehaviourModule.OnStart() PartBehaviourModule.Shutdown() PartBehaviourModule.Initialize() PartBehaviourModule.SetLegacyData(PartBehavior, ISimulationObjectView) PartBehaviourModule.Init() PartBehaviourModule.InitForDataModules() PartBehaviourModule.SetDataModuleValues(SerializedPartModule) PartBehaviourModule.InitForNewOABPart() PartBehaviourModule.RemoveResourceRequest(ResourceFlowRequestHandle) PartBehaviourModule.OnAnimStateExit(Animator, int) PartBehaviourModule.IsPhysXEnabled() PartBehaviourModule.OnFixedUpdate(float) PartBehaviourModule.OnUpdate(float) PartBehaviourModule.OnModuleUpdate(float) PartBehaviourModule.OnModuleOABUpdate(float) PartBehaviourModule.OnActionActivateEventMessage(MessageCenterMessage) PartBehaviourModule.AddActionGroupAction(ModuleActionGroupAction) PartBehaviourModule.AddActionGroupAction(Action<bool>, KSPActionGroup, string, ModuleProperty<bool>) PartBehaviourModule.AddActionGroupAction(Action, KSPActionGroup, string) PartBehaviourModule.OnActionGroupMappingChanged(MessageCenterMessage) PartBehaviourModule.TryGetRendererMaterialsByName(List<string>, out List<Material>) PartBehaviourModule.IsActive PartBehaviourModule.LegacyWriteOverTarget PartBehaviourModule.PartBackingMode PartBehaviourModule.part PartBehaviourModule.ComponentModule PartBehaviourModule.resourceFlowRequestBroker PartBehaviourModule.partOwner PartBehaviourModule.vessel PartBehaviourModule.simulationObject PartBehaviourModule.transform PartBehaviourModule.moduleIsEnabled PartBehaviourModule.IsInitialized PartBehaviourModule.executedAction PartBehaviourModule.stagingEnabled PartBehaviourModule.OABPart PartBehaviourModule.IsLocallyAuthorized KerbalMonoBehaviour.Game KerbalMonoBehaviour.Assets KerbalMonoBehaviour.Messages KerbalMonoBehaviour.CFXSystem KerbalMonoBehaviour.IsGameShuttingDown Namespace: KSP.Modules Assembly: Assembly-CSharp.dll Syntax public class Module_SolarPanel : Module_Deployable, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule, IMultipleDragCube, ILateUpdate Constructors Module_SolarPanel() Declaration public Module_SolarPanel() Fields dataSolarPanel Declaration protected Data_SolarPanel dataSolarPanel Field Value Type Description Data_SolarPanel Properties PartComponentModuleType Declaration public override Type PartComponentModuleType { get; } Property Value Type Description Type Overrides Module_Deployable.PartComponentModuleType Methods AddDataModules() Declaration protected override void AddDataModules() Overrides Module_Deployable.AddDataModules() CalculateTrackingLOS(Vector3, ref string) Declaration public override bool CalculateTrackingLOS(Vector3 trackingDirection, ref string blocker) Parameters Type Name Description Vector3 trackingDirection string blocker Returns Type Description bool Overrides Module_Deployable.CalculateTrackingLOS(Vector3, ref string) GetModuleDisplayName() Declaration public override string GetModuleDisplayName() Returns Type Description string Overrides Module_Deployable.GetModuleDisplayName() OnInitialize() Declaration protected override void OnInitialize() Overrides Module_Deployable.OnInitialize() OnModuleOABFixedUpdate(float) Declaration protected override void OnModuleOABFixedUpdate(float deltaTime) Parameters Type Name Description float deltaTime Overrides Module_Deployable.OnModuleOABFixedUpdate(float) OnShutdown() Declaration protected override void OnShutdown() Overrides Module_Deployable.OnShutdown() PostCalculateTracking(bool, Vector3) Declaration public override void PostCalculateTracking(bool trackingLOS, Vector3 trackingDirection) Parameters Type Name Description bool trackingLOS Vector3 trackingDirection Overrides Module_Deployable.PostCalculateTracking(bool, Vector3) Implements IPartModule IFixedUpdate IPriorityOverride IUpdate IObjectAssemblyPartModule IMultipleDragCube ILateUpdate Extension Methods ObjectExtensions.Apply<T>(T, Action<T>) ObjectExtensions.Let<T, R>(T, Func<T, R>) ObjectExtensions.Use<T>(T, Action<T>) Util.CallPrivateVoidMethod<T>(T, string, params object[]) Util.GetField<T, R>(T, string) Util.SetField<T, V>(T, string, V) Util.SetProperty<T, V>(T, string, V) TypeConverters.CopyPropertiesFromFields(object, object, bool) TypeConverters.CopyPropertiesFromProperties(object, object, bool) Util.GetFieldValue<T>(object, string)"
14190+
"summary": "Class Module_SolarPanel PartBehaviourModule for the solar panel module, using Data_SolarPanel and backed by PartComponentModule_SolarPanel. Inheritance object KerbalMonoBehaviour PartBehaviourModule Module_Deployable Module_SolarPanel Implements IPartModule IFixedUpdate IPriorityOverride IUpdate IObjectAssemblyPartModule IMultipleDragCube ILateUpdate Inherited Members Module_Deployable.DRAGCUBE_PACKED_NAME Module_Deployable.DRAGCUBE_RETRACTED_NAME Module_Deployable.DRAGCUBE_EXTENDED_NAME Module_Deployable.EPSILON Module_Deployable.DefaultDragCubeNames Module_Deployable.dataDeployable Module_Deployable.animator Module_Deployable.panelRotationTransform Module_Deployable.secondaryTransform Module_Deployable.hasPivot Module_Deployable.trackingBody Module_Deployable.trackingTransform Module_Deployable.dragCubeNames Module_Deployable._trackingLOS Module_Deployable._blockingObject Module_Deployable._actionPendingCompletion Module_Deployable._actionExtend Module_Deployable.OnEnable() Module_Deployable.OnInitializeVisuals() Module_Deployable.OnModuleFixedUpdate(float) Module_Deployable.UpdateDeployment(float) Module_Deployable.UpdateAerodynamics() Module_Deployable.OnLateUpdate() Module_Deployable.UpdateDeployStateToFullStop() Module_Deployable.OnToggleExtendChanged(bool) Module_Deployable.Extend() Module_Deployable.Retract() Module_Deployable.HasTrackerReturnedToOrigin(float) Module_Deployable.OnAnimStateEnter(Animator, int) Module_Deployable.GetTrackingBodyTransformFrame() Module_Deployable.SetDeployActionAvailability(bool, bool) Module_Deployable.CalculateTracking(float) Module_Deployable.GetDragCubeNames() Module_Deployable.AssumeDragCubePosition(string) Module_Deployable.UsesProceduralDragCubes() Module_Deployable.IsMultipleCubesActive Module_Deployable.CurrentAnimNormalizedTime PartBehaviourModule.DataModules PartBehaviourModule.ModuleActions PartBehaviourModule.ThermalUpdate(double) PartBehaviourModule.GetInfo() PartBehaviourModule.IsStageable() PartBehaviourModule.OnActive() PartBehaviourModule.OnStart() PartBehaviourModule.Shutdown() PartBehaviourModule.Initialize() PartBehaviourModule.SetLegacyData(PartBehavior, ISimulationObjectView) PartBehaviourModule.Init() PartBehaviourModule.InitForDataModules() PartBehaviourModule.SetDataModuleValues(SerializedPartModule) PartBehaviourModule.InitForNewOABPart() PartBehaviourModule.RemoveResourceRequest(ResourceFlowRequestHandle) PartBehaviourModule.OnAnimStateExit(Animator, int) PartBehaviourModule.IsPhysXEnabled() PartBehaviourModule.OnFixedUpdate(float) PartBehaviourModule.OnUpdate(float) PartBehaviourModule.OnModuleUpdate(float) PartBehaviourModule.OnModuleOABUpdate(float) PartBehaviourModule.OnActionActivateEventMessage(MessageCenterMessage) PartBehaviourModule.AddActionGroupAction(ModuleActionGroupAction) PartBehaviourModule.AddActionGroupAction(Action<bool>, KSPActionGroup, string, ModuleProperty<bool>) PartBehaviourModule.AddActionGroupAction(Action, KSPActionGroup, string) PartBehaviourModule.OnActionGroupMappingChanged(MessageCenterMessage) PartBehaviourModule.TryGetRendererMaterialsByName(List<string>, out List<Material>) PartBehaviourModule.IsActive PartBehaviourModule.LegacyWriteOverTarget PartBehaviourModule.PartBackingMode PartBehaviourModule.part PartBehaviourModule.ComponentModule PartBehaviourModule.resourceFlowRequestBroker PartBehaviourModule.partOwner PartBehaviourModule.vessel PartBehaviourModule.simulationObject PartBehaviourModule.transform PartBehaviourModule.moduleIsEnabled PartBehaviourModule.IsInitialized PartBehaviourModule.executedAction PartBehaviourModule.stagingEnabled PartBehaviourModule.OABPart PartBehaviourModule.IsLocallyAuthorized KerbalMonoBehaviour.Game KerbalMonoBehaviour.Assets KerbalMonoBehaviour.Messages KerbalMonoBehaviour.CFXSystem KerbalMonoBehaviour.IsGameShuttingDown Namespace: KSP.Modules Assembly: Assembly-CSharp.dll Syntax public class Module_SolarPanel : Module_Deployable, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule, IMultipleDragCube, ILateUpdate Constructors Module_SolarPanel() Declaration public Module_SolarPanel() Fields dataSolarPanel Declaration protected Data_SolarPanel dataSolarPanel Field Value Type Description Data_SolarPanel Properties PartComponentModuleType Declaration public override Type PartComponentModuleType { get; } Property Value Type Description Type Overrides Module_Deployable.PartComponentModuleType Methods AddDataModules() Declaration protected override void AddDataModules() Overrides Module_Deployable.AddDataModules() CalculateTrackingLOS(Vector3, ref string) Evaluates line-of-sight (LOS) between the solar panel and its tracking target. Declaration public override bool CalculateTrackingLOS(Vector3 trackingDirection, ref string blocker) Parameters Type Name Description Vector3 trackingDirection The normalized vector toward the light source. string blocker Output string identifying the obstructing object (Body, Terrain, or Part). Returns Type Description bool True if the panel is receiving light; false if obstructed. Overrides Module_Deployable.CalculateTrackingLOS(Vector3, ref string) Remarks Logic flow: Checks for simulated orbital occlusion (SimBlockingBody). Validates panel orientation relative to the light source (Incidence Angle). Performs a physical Raycast to detect terrain (PQSRenderer) or vessel self-shadowing (PartBehavior). Updates localization strings for the UI display. GetModuleDisplayName() Declaration public override string GetModuleDisplayName() Returns Type Description string Overrides Module_Deployable.GetModuleDisplayName() OnInitialize() Declaration protected override void OnInitialize() Overrides Module_Deployable.OnInitialize() OnModuleOABFixedUpdate(float) Declaration protected override void OnModuleOABFixedUpdate(float deltaTime) Parameters Type Name Description float deltaTime Overrides Module_Deployable.OnModuleOABFixedUpdate(float) OnShutdown() Declaration protected override void OnShutdown() Overrides Module_Deployable.OnShutdown() PostCalculateTracking(bool, Vector3) Declaration public override void PostCalculateTracking(bool trackingLOS, Vector3 trackingDirection) Parameters Type Name Description bool trackingLOS Vector3 trackingDirection Overrides Module_Deployable.PostCalculateTracking(bool, Vector3) Implements IPartModule IFixedUpdate IPriorityOverride IUpdate IObjectAssemblyPartModule IMultipleDragCube ILateUpdate Extension Methods ObjectExtensions.Apply<T>(T, Action<T>) ObjectExtensions.Let<T, R>(T, Func<T, R>) ObjectExtensions.Use<T>(T, Action<T>) Util.CallPrivateVoidMethod<T>(T, string, params object[]) Util.GetField<T, R>(T, string) Util.SetField<T, V>(T, string, V) Util.SetProperty<T, V>(T, string, V) TypeConverters.CopyPropertiesFromFields(object, object, bool) TypeConverters.CopyPropertiesFromProperties(object, object, bool) Util.GetFieldValue<T>(object, string)"
1419114191
},
1419214192
"AssemblyCSharp/KSP.Modules.Module_StatusLight.html": {
1419314193
"href": "AssemblyCSharp/KSP.Modules.Module_StatusLight.html",

0 commit comments

Comments
 (0)