internal static int addItem(IntPtr thisPtr, int group, [MarshalAs(UnmanagedType.LPWStr)] string name, [MarshalAs(UnmanagedType.LPWStr)] string value)
            {
                if (_addItemFunc == null)
                {
                    _addItemFunc =
                        (_addItem)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_CreatorTree_addItem"), typeof(_addItem));
                }

                return(_addItemFunc(thisPtr, group, name, value));
            }
            internal static int addItem(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string newItem, [MarshalAs(UnmanagedType.LPWStr)] string color)
            {
                if (_addItemFunc == null)
                {
                    _addItemFunc =
                        (_addItem)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_GuiListBoxCtrl_addItem"), typeof(_addItem));
                }

                return(_addItemFunc(thisPtr, newItem, color));
            }