TBESEN.ObjectInstanceOf does not support classes registered with RegisterNativeObject #31
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/besen#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
class registered in pascal:
BesenInstance.RegisterNativeObject('Vehicle', TVehicleInterface);in javascript:
`var tvehicle = new Vehicle(VehicleIdent, SpawnX, SpawnY, SpawnZ, Heading, immediate_create);
new Vehicle works properly as expected, creates a instance of the object.
instanceof however fails, and triggers exception "Prototype not object" in TBESENObjectFunction.HasInstance.