internal static void add(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string name, int idNum, uint scheme) { if (_addFunc == null) { _addFunc = (_add)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiPopUpMenuCtrl_add"), typeof(_add)); } _addFunc(thisPtr, name, idNum, scheme); }
internal static void add(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string key, [MarshalAs(UnmanagedType.LPWStr)] string value) { if (_addFunc == null) { _addFunc = (_add)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_ArrayObject_add"), typeof(_add)); } _addFunc(thisPtr, key, value); }
internal static void add(IntPtr thisPtr, int argc, string[] argv) { if (_addFunc == null) { _addFunc = (_add)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_SimSet_add"), typeof(_add)); } _addFunc(thisPtr, argc, argv); }
set => SetProperty(ref _add, value);