public static extern void CommandData_director_connect(HandleRef jarg1, CommandData.SwigDelegateCommandData_0 delegate0, CommandData.SwigDelegateCommandData_1 delegate1, CommandData.SwigDelegateCommandData_2 delegate2, CommandData.SwigDelegateCommandData_3 delegate3, CommandData.SwigDelegateCommandData_4 delegate4, CommandData.SwigDelegateCommandData_5 delegate5, CommandData.SwigDelegateCommandData_6 delegate6, CommandData.SwigDelegateCommandData_7 delegate7);
public static bool RegisterCommandPlugin(int id, string /* constString&_cstype */ str, int info, BaseBitmap icon, string /* constString&_cstype */ help, CommandData dat) { bool ret = C4dApiPINVOKE.RegisterCommandPlugin(id, str, info, BaseBitmap.getCPtr(icon), help, CommandData.getCPtr(dat)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(CommandData obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }