예제 #1
0
 /*
     0= bool
     1= int
     2= decimal
     3= string
 */
 object GetInputForLua(string prompt, int type)
 {
     UserInput tmp = new UserInput();
     DialogResult tmpRes = tmp.ShowDialog(prompt, type);
     return tmp.Value;
 }
예제 #2
0
 /*
     0= bool
     1= int
     2= decimal
     3= string
 */
 object GetInputForLua(string prompt, int type)
 {
     DumpLog("getting user input for lua script", 7);
     UserInput tmp = new UserInput();
     DialogResult tmpRes = tmp.ShowDialog(prompt, type);
     return tmp.Value;
 }