コード例 #1
0
    public static int SerializeToClient(IntPtr l)
    {
        int result;

        try
        {
            DataSectionFriend dataSectionFriend = (DataSectionFriend)LuaObject.checkSelf(l);
            object            o = dataSectionFriend.SerializeToClient();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }