var MyNewClass = IgeEntity.extend({
classId: 'MyNewClass',
// Define the init with the parameter to receive the
// data you return in the streamCreateData() method
init: function (myCreateData) {
this._myData = myCreateData;
},
streamCreateData: function () {
return this._myData;
}
});
Valid return values must not include circular references!