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.
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
API to get string factory from the engine?
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
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