Difference between revisions of "BodyPart"

From SkyCorp Global
(Created page with "Represents a particular transformation the player can undergo. == Public Static Methods == === static BodyPart getBodyPart(string bodyPartName) === Gets body part object fro...")
 
 
Line 9: Line 9:
  
 
=== int getTransformationSeverity() ===
 
=== int getTransformationSeverity() ===
How transformed is this body part?  0=human, 1=hideable non-human, 2=unhideable non-human
+
How transformed is this body part?   
 +
* 0=human
 +
* 1=hideable non-human
 +
* 2=unhideable non-human
  
 
=== void setTransformationSeverity(int severity) ===  
 
=== void setTransformationSeverity(int severity) ===  
Set how transformed this body part is.  0=human, 1=hideable non-human, 2=unhideable non-human
+
Set how transformed this body part is.   
 +
* 0=human
 +
* 1=hideable non-human
 +
* 2=unhideable non-human
  
=== Species getSpeciesType() ===  
+
=== [[Species]] getSpeciesType() ===  
 
Gets the species the body part is set as.
 
Gets the species the body part is set as.
  
=== void setSpeciesType(Species species) ===  
+
=== void setSpeciesType([[Species]] species) ===  
 
Sets what species the body part is.
 
Sets what species the body part is.
  
 
[[Category:LUA Class Reference]]
 
[[Category:LUA Class Reference]]

Latest revision as of 22:09, 1 February 2018

Represents a particular transformation the player can undergo.

Public Static Methods

static BodyPart getBodyPart(string bodyPartName)

Gets body part object from body part name (string). Returns null if no body part with that name can be found.

Public Methods

int getTransformationSeverity()

How transformed is this body part?

  • 0=human
  • 1=hideable non-human
  • 2=unhideable non-human

void setTransformationSeverity(int severity)

Set how transformed this body part is.

  • 0=human
  • 1=hideable non-human
  • 2=unhideable non-human

Species getSpeciesType()

Gets the species the body part is set as.

void setSpeciesType(Species species)

Sets what species the body part is.