SetPrototype

Category: Objects / Properties
Since engine version: 8.0 OC

Description

This function changes the prototype of a proplist. When properties of a proplist are read and not set on that proplist, the property is looked up in the proplist's prototype(s). This can be used for inheritance.

Syntax

nil SetPrototype(proplist prototype, proplist obj);

Parameters

prototype:
[opt] The new prototype.
obj:
[opt] Object to be changed. Can be nil in local calls.
See also: GetPrototype
Günther, 2016-04