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

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

        try
        {
            UserSocialRelation o = new UserSocialRelation();
            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 set_Friends(IntPtr l)
    {
        int result;

        try
        {
            UserSocialRelation userSocialRelation = (UserSocialRelation)LuaObject.checkSelf(l);
            List <string>      friends;
            LuaObject.checkType <List <string> >(l, 2, out friends);
            userSocialRelation.Friends = friends;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 4
0
    public static int set_Invitedlist(IntPtr l)
    {
        int result;

        try
        {
            UserSocialRelation userSocialRelation = (UserSocialRelation)LuaObject.checkSelf(l);
            List <string>      invitedlist;
            LuaObject.checkType <List <string> >(l, 2, out invitedlist);
            userSocialRelation.Invitedlist = invitedlist;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }