Difference between revisions of "API talk:Part class overrides"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "The reason is that API:Part_class_overrides contains methods that can be overridden, but a developer is not required to. If a developer would like to override certain methods ...")
 
 
Line 3: Line 3:
  
 
Creating seperate pages on this Wiki is just a waste of space and time. If the need to keep this information seperate still exsists, keywords can be used to indicate wether or not something is overridable.
 
Creating seperate pages on this Wiki is just a waste of space and time. If the need to keep this information seperate still exsists, keywords can be used to indicate wether or not something is overridable.
 +
 +
{| class="wikitable sortable"
 +
|-
 +
! Scope !! Parameters !! Name !! Output
 +
|-
 +
| public (override), internal (override), private (override) || bool SomeBool, byte SomeByte, int SomeInt || MethodOrTriggerName || void, bool, byte, string, int
 +
|}

Latest revision as of 18:29, 29 December 2012

The reason is that API:Part_class_overrides contains methods that can be overridden, but a developer is not required to. If a developer would like to override certain methods he/she/it will be shown a list of possible methods to override in most present day coding programs. Anybody that knows the language even slightly should know this.


Creating seperate pages on this Wiki is just a waste of space and time. If the need to keep this information seperate still exsists, keywords can be used to indicate wether or not something is overridable.

Scope Parameters Name Output
public (override), internal (override), private (override) bool SomeBool, byte SomeByte, int SomeInt MethodOrTriggerName void, bool, byte, string, int