Exemplo n.º 1
0
    public static int DeInit(IntPtr l)
    {
        int result;

        try
        {
            ChatGroupComponentCommon chatGroupComponentCommon = (ChatGroupComponentCommon)LuaObject.checkSelf(l);
            chatGroupComponentCommon.DeInit();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ChatGroupComponentCommon o = new ChatGroupComponentCommon();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 3
0
    public static int GetName(IntPtr l)
    {
        int result;

        try
        {
            ChatGroupComponentCommon chatGroupComponentCommon = (ChatGroupComponentCommon)LuaObject.checkSelf(l);
            string name = chatGroupComponentCommon.GetName();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, name);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 4
0
    public static int set_Owner(IntPtr l)
    {
        int result;

        try
        {
            ChatGroupComponentCommon chatGroupComponentCommon = (ChatGroupComponentCommon)LuaObject.checkSelf(l);
            IComponentOwner          owner;
            LuaObject.checkType <IComponentOwner>(l, 2, out owner);
            chatGroupComponentCommon.Owner = owner;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 5
0
    public static int Tick(IntPtr l)
    {
        int result;

        try
        {
            ChatGroupComponentCommon chatGroupComponentCommon = (ChatGroupComponentCommon)LuaObject.checkSelf(l);
            uint deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            chatGroupComponentCommon.Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }