[JW Lua] FCPart:GetName()

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Wed Sep 10 18:17:02 CEST 2014


On 2014-09-10 17:40, Jan Angermüller wrote:

> to be consistent FCPart:GetName() should probably be
> named CreateName() as it is not a getter/setter, but a create function,
> isn't it ?

This function is not a "Create" function, since it returns the location 
of an internal object without creating anything.

However, I agree that the use of this method is inconsistent. It should 
use an FCString argument to fill instead (like FCCategoryDef:GetName() 
for example). I'll change that. Thanks!


Best regards,

Jari Williamsson









More information about the JWLua mailing list