CPFC

From HEWIKI
(Redirected from Cpfc)
Jump to: navigation, search

Contents

Create Prototype From Class

CPFC <class identifier>, <prototype name>; description=<prototype description> package=<distribution package>


Arguments

<class identifier> 
The name of a class from which the prototype is to be made
<prototype name> 
A string, with the name of the new prototype
<prototype description> 
A string with explanatory text
[<distribution package>
(optional) One of the following distribution packages:
  • Required
  • Optional
  • OptionalGame
  • Game (default)

Description

This is a CLI command that creates a new prototype with a base class of the given class. All the values of the fields from the given class will be set to their default, which is generally zero or empty string.


Example

: CPFC "tree", "tree_prototype"
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox