ReproduceActionDna Property |
Returns the DNA information that you passed into the BeginReproduction
method. This is only a copy of the original DNA since an actual pointer
to the array could allow the modification of individual elements. This
is a small safety measure for using a non read-only type such as an array.
Namespace: Terrarium.Sdk.Classes.ActionsAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic byte[] Dna { get; }
Public ReadOnly Property Dna As Byte()
Get
public:
property array<unsigned char>^ Dna {
array<unsigned char>^ get ();
}
member Dna : byte[] with get
Return Value
Type:
Byte
System.Array of type Byte[] representing the DNA passed in the BeginReproduction method.
See Also