https://wiki.kerbalspaceprogram.com/index.php?title=API:KSPField&feed=atom&action=history
API:KSPField - Revision history
2024-03-28T15:16:45Z
Revision history for this page on the wiki
MediaWiki 1.29.0
https://wiki.kerbalspaceprogram.com/index.php?title=API:KSPField&diff=96221&oldid=prev
Rocketdocker: {{Orphan}}
2020-01-22T17:12:37Z
<p>{{Orphan}}</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 17:12, 22 January 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Orphan}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[https://kerbalspaceprogram.com/api/class_k_s_p_field.html <code>KSPField</code>] is a C# annotation that may be applied to member variables of [[API:Part]]s, [[API:PartModule]]s, etc to make their state persistent.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[https://kerbalspaceprogram.com/api/class_k_s_p_field.html <code>KSPField</code>] is a C# annotation that may be applied to member variables of [[API:Part]]s, [[API:PartModule]]s, etc to make their state persistent.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Rocketdocker
https://wiki.kerbalspaceprogram.com/index.php?title=API:KSPField&diff=82500&oldid=prev
Ringerc: Minimal documentation of KSPField
2018-06-17T02:38:20Z
<p>Minimal documentation of KSPField</p>
<p><b>New page</b></p><div>[https://kerbalspaceprogram.com/api/class_k_s_p_field.html <code>KSPField</code>] is a C# annotation that may be applied to member variables of [[API:Part]]s, [[API:PartModule]]s, etc to make their state persistent.<br />
<br />
e.g.<br />
<br />
<pre><br />
class MyBlingModule : PartModule<br />
{<br />
[KSPField()]<br />
protected double blingBrightness = 1000.0;<br />
<br />
//...<br />
}<br />
</pre><br />
<br />
adds a field that is exposed to <code>ModuleManager</code>, saved and restored by KSP on load and unload, etc.<br />
<br />
<br />
[[Category:Community API Documentation]]</div>
Ringerc