Advertisement

API to get string factory from the engine?

Started by July 04, 2024 03:28 AM
2 comments, last by WitchLord 1 month, 1 week ago

I've searched the document. There is a GetStringFactoryReturnTypeId method, but there is no GetStringFactory. Sometimes getting the string factory from the engine can reduce direct dependency between different code modules. For example, I can create a script string without include an additional custom string header.

None

I hadn't thought of that before. Sure, this can easily be added to the interface. I'll include it for the next release after 2.37.0.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

I've implemented this now in revision 2939.

https://sourceforge.net/p/angelscript/code/2939/

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement