RegisterViewCommand() public méthode

public RegisterViewCommand ( IView view, string commandNames ) : void
view IView
commandNames string
Résultat void
Exemple #1
0
 static int RegisterViewCommand(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         Controller obj  = (Controller)ToLua.CheckObject <Controller>(L, 1);
         IView      arg0 = (IView)ToLua.CheckObject <IView>(L, 2);
         string[]   arg1 = ToLua.CheckStringArray(L, 3);
         obj.RegisterViewCommand(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }