RenameSymbol() 공개 메소드

Change an existing symbol's sequence to the specified value.
public RenameSymbol ( string before, string after ) : void
before string
after string
리턴 void
예제 #1
0
 static public int RenameSymbol(IntPtr l)
 {
     try {
         UIFont        self = (UIFont)checkSelf(l);
         System.String a1;
         checkType(l, 2, out a1);
         System.String a2;
         checkType(l, 3, out a2);
         self.RenameSymbol(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static int RenameSymbol(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         UIFont obj  = (UIFont)ToLua.CheckObject <UIFont>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         string arg1 = ToLua.CheckString(L, 3);
         obj.RenameSymbol(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #3
0
    public static int RenameSymbol(IntPtr l)
    {
        int result;

        try
        {
            UIFont uIFont = (UIFont)LuaObject.checkSelf(l);
            string before;
            LuaObject.checkType(l, 2, out before);
            string after;
            LuaObject.checkType(l, 3, out after);
            uIFont.RenameSymbol(before, after);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }