示例#1
0
    static int get_afterImageWithScaleEffect(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            WCG.GameMgr obj = (WCG.GameMgr)o;
            WCG.AfterImageWithScaleEffect ret = obj.afterImageWithScaleEffect;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index afterImageWithScaleEffect on a nil value"));
        }
    }
示例#2
0
    static int set_afterImageWithScaleEffect(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            WCG.GameMgr obj = (WCG.GameMgr)o;
            WCG.AfterImageWithScaleEffect arg0 = (WCG.AfterImageWithScaleEffect)ToLua.CheckObject <WCG.AfterImageWithScaleEffect>(L, 2);
            obj.afterImageWithScaleEffect = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index afterImageWithScaleEffect on a nil value"));
        }
    }