猫史档案馆


烟魂

烟魂

Lv.1

获赞:5收藏:1浏览:9作品收藏:0
回复帖子评论
上一页3 页 / 共 4下一页

NomenSQLite:神岛首个多表格便携式轻量级协同管理器 中回复

你先不要加太多啊awa我都奔溃了...

我都写了5761行代码嘤嘤嘤

2023-05-10T21:20:23 点赞:0

NomenPostgre-Base:神岛首个PG数据库动态多表格轻量级便携式管理器 中回复

再来看看:)

链接:https://shequ.codemao.cn/community/539851

2023-05-10T21:47:58 点赞:0

NomenSQLite:神岛首个多表格便携式轻量级协同管理器 中回复

。。。你都没拉取。。。:)你快来github拉取我的代码。。。

2023-05-11T07:23:57 点赞:0

NomenSQLite:神岛首个多表格便携式轻量级协同管理器 中回复

好了嘛庫???

2023-05-11T21:25:34 点赞:0

创作节找人,建教堂,速建的,代码的+图 中回复

想合作。。。不知道你會不會讓我合作

2023-05-11T21:33:33 点赞:0

跪求代码师,速来此图! 中回复

本來不叫代碼師

叫小小無敵小小小小代碼師

2023-05-11T21:34:49 点赞:0

治疗括号癌() 中回复

:))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((

2023-05-11T21:39:02 点赞:0

整活帖:NomenSandbox-Nomen沙盒,为不受信任的代码提供安全的运行空间 中回复

哈哈哈。。。有我的贡献。。。哈哈哈

2023-05-16T21:44:26 点赞:0

招动画师(?) 中回复

我行吗

2023-05-16T21:46:03 点赞:0

【音乐】音乐制作工具 中回复

我就。。。看个戏吧。。。有事可以找我。。。

2023-05-18T22:43:38 点赞:0

【Box3】RTX-ON 中回复

新技术必须研究研究

2023-05-28T07:52:09 点赞:0

Nomen与Nomina的Gitbook发布啦 中回复

我在帮你一次吧:)

帮你做一个投稿网站

2023-05-28T11:46:30 点赞:0

【神岛更新了】这次,是全新的模型和地图编辑器! 中回复

hi

我是一个不会建筑萌新多多知道

谢谢大家

2023-06-17T07:07:35 点赞:1

【Python作品分享】病毒-副本【教程贴】 中回复

你是萌新吗?

2023-06-17T14:12:03 点赞:0

【Python作品分享】病毒-副本【教程贴】 中回复

给你看个更加厉害的

2023-06-17T14:12:12 点赞:0

我不会建模这是真的 中回复

诶嘿

https://www.awesomescreenshot.com/video/18489316?key=5e06喵喵dfae78563a1356852c9f1342

 

2023-06-21T21:39:43 点赞:0

快来看看这只正在表演的猴子🐒 中回复

我猜小学生。。。当满五年级。。。笑死我了《初中生》

2023-07-03T16:57:59 点赞:0

快来看看这只正在表演的猴子🐒 中回复

谁说初中生不会盗号。。。如果我这个五年级会盗号我看他不会。。。

我有一些初中朋友会盗号。。。

哎没实力家伙

2023-07-03T16:59:50 点赞:0

Box3 新模型编辑器喵 来辣 中回复

帮你优化代码:)

2023-07-03T17:01:20 点赞:0

整活)NomenItemStack:快捷管理物品栈/背包,具有堆叠上限和全map操作 中回复

继续帮你优化布局。。。

2023-07-14T09:50:45 点赞:0

整活)NomenItemStack:快捷管理物品栈/背包,具有堆叠上限和全map操作 中回复

不对啊。。。

不是有网站吗?

 

2023-07-14T09:51:24 点赞:0

(氵)网站审核成功,神岛宣传网站搭建完成 中回复

我能帮忙

2023-07-15T20:24:05 点赞:0

【神奇代码岛】新编辑器GUI模板 中回复

这么一说那就简单了gui

2023-07-30T11:28:41 点赞:0

颜色表 十六进制/RGB 中回复

奇了个怪了排版没了

2023-07-31T14:37:16 点赞:0

【公开处刑】曝光血衣族基地及LDW外挂家族 中回复

开个小号偷偷炸群?

 

2023-07-31T14:44:23 点赞:0

这个屑还是选择了地图赛道) 中回复

正在思考你要不要帮忙

2023-08-09T12:51:42 点赞:1

【Arena编辑器】利用新版数据库Storage管理玩家 中回复

你见过新型复制建筑小小代码开发吗?(我做的。。。)

2023-08-12T10:19:58 点赞:0

NomenChat 1.1.0更新 | NomenChat/Box3 0.1发布 中回复

代码似乎可以优化

2023-08-12T10:23:00 点赞:0

NomenChat 1.1.0更新 | NomenChat/Box3 0.1发布 中回复

你觉得我可以吗

 

2023-08-12T10:29:44 点赞:0

gui小小介绍 中回复

"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
exports.__esModule = true;
//@ts-nocheck
/* ********************************************
 * Box3EasyGUI.js Version 1.1.0 by 编码喵
* ********************************************/
//require("./api");
var Box3EasyGUI = /** @class */ (function () {
    function Box3EasyGUI(name, entity) {
        this.name = name;
        this.entity = entity;
        this.document = new GUIDocument(this);
        this.rendered = false;
    }
    Box3EasyGUI.prototype.render = function () {
        var _a;
        this.rendered = true;
        gui.init(this.entity, (_a = {},
            _a[this.name] = {
                bindings: this.document.getBindings(),
                display: true,
                data: this.document.toString()
            },
            _a));
    };
    Box3EasyGUI.prototype.reload = function () {
        if (this.document.childrens.length < 1)
            return;
        for (var _i = 0, _a = this.document.childrens; _i < _a.length; _i++) {
            var i = _a[_i];
            gui.remove(this.entity, i.selector);
        }
        this.render();
    };
    return Box3EasyGUI;
}());
module.exports = { Box3EasyGUI: Box3EasyGUI, GUINode: GUINode, NodeEventListener: NodeEventListener, GUIDocument: GUIDocument };
function key(node) {
    if (!node.parent)
        throw new Error("this element have not been append to other elements.So,please append to other elements and then make a key for this elements!");
    var length = 16;
    var k = "";
    var a = [[48, 57], [65, 90], [97, 122]];
    for (var i = 0; i < length; i++) {
        var r = a[Math.floor(Math.random() * 3)];
        k += String.fromCharCode(Math.floor(Math.random() * (r[1] - r[0])) + r[0]);
    }
    if (node.gui && node.gui.document.getElementByKey(k) != null)
        return key(node);
    else
        return k;
}
var GUINode = /** @class */ (function () {
    function GUINode(name, attributes) {
        this.name = name;
        this.attributes = attributes;
        this.childrens = [];
        this.listeners = [];
        this.getSelector = function () {
            return this.name + "[guiKey=\"" + this.attributes.guiKey + "\"]";
        };
    }
    GUINode.prototype.toString = function () {
        var a = "", c = "";
        for (var i in this.attributes)
            a += " " + i + "=" + "\"" + this.attributes[i] + "\"";
        for (var _i = 0, _a = this.childrens; _i < _a.length; _i++) {
            var i = _a[_i];
            c += i.toString();
        }
        return "<" + this.name + a + ">\r\n" + c + "</" + this.name + ">\r\n";
    };
    GUINode.prototype.getEventListeners = function () {
        var b = this.listeners;
        for (var _i = 0, _a = this.childrens; _i < _a.length; _i++) {
            var i = _a[_i];
            b = b.concat(i.getEventListeners());
        }
        return b;
    };
    GUINode.prototype.appendChild = function (node) {
        if (node.selector)
            throw new Error("this element has been appended to another element.");
        this.childrens.push(node);
        node.parent = this;
        node.gui = this.gui;
        function setGUI(node, a) {
            for (var _i = 0, _a = node.childrens; _i < _a.length; _i++) {
                var i = _a[_i];
                i.gui = a, setGUI(i, a);
            }
        }
        if (this.gui)
            setGUI(node, this.gui);
        node.attributes.guiKey = key(node);
        node.selector = node.getSelector();
        return this;
    };
    GUINode.prototype.remove = function () {
        var pos = this.parent.childrens.indexOf(this);
        if (pos == -1)
            throw new Error("can not find this element in " + this.parent.selector + ".Please check have you ever appended this element.");
        this.parent.childrens.splice(pos, 1);
        if (this.gui && this.gui.rendered)
            gui.remove(this.gui.entity, this.selector);
        delete this;
    };
    GUINode.prototype.addEventListener = function (e, listener) {
        var _this = this;
        this.listeners.push(new NodeEventListener(e, listener, this));
        gui.onMessage(function (data) {
            if (data.name == _this.getSelector())
                listener(data);
        });
    };
    GUINode.prototype.setAttribute = function (a, b) {
        this.attributes[a] = String(b);
        if (this.gui && this.gui.rendered)
            gui.setAttribute(this.gui.entity, this.selector, a, b);
    };
    GUINode.prototype.removeAttribute = function (a) {
        this.attributes[a] && function (b) {
            if (b.gui && b.gui.rendered)
                gui.setAttribute(b.gui.entity, b.selector, a, "");
            delete this.attributes[a];
        }(this);
    };
    GUINode.prototype.show = function () {
        this.setAttribute("display", "block");
        this.setAttribute("height", this.attributes.height0);
        this.setAttribute("width", this.attributes.width0);
        this.setAttribute("height0", "");
        this.setAttribute("width0", "");
    };
    GUINode.prototype.hide = function () {
        this.setAttribute("display", "none");
        this.setAttribute("height0", this.attributes.height);
        this.setAttribute("width0", this.attributes.width);
        this.setAttribute("height", "0");
        this.setAttribute("width", "0");
    };
    return GUINode;
}());
var NodeEventListener = /** @class */ (function () {
    function NodeEventListener(e, listener, node) {
        this.event = e;
        this.listener = listener;
        this.node = node;
    }
    return NodeEventListener;
}());
var GUIDocument = /** @class */ (function (_super) {
    __extends(GUIDocument, _super);
    function GUIDocument(gui) {
        var _this = _super.call(this, "document", {}) || this;
        _this.selector = "document";
        _this.gui = gui;
        _this.getSelector = undefined;
        return _this;
    }
    GUIDocument.prototype.toString = function () {
        var c = "";
        for (var _i = 0, _a = this.childrens; _i < _a.length; _i++) {
            var i = _a[_i];
            c += i.toString();
        }
        return c;
    };
    GUIDocument.prototype.createXml = function (name, attributes) {
        return new GUINode(name, attributes);
    };
    GUIDocument.prototype.getBindings = function () {
        var e = this.getEventListeners(), b = new Array();
        for (var _i = 0, e_1 = e; _i < e_1.length; _i++) {
            var i = e_1[_i];
            var s = i.node.getSelector();
            b.push({ action: "sendMessage", event: i.event, messageName: s, selector: s });
        }
        return b;
    };
    GUIDocument.prototype.remove = function () {
        throw new Error("can not remove document!");
    };
    GUIDocument.prototype.getElementById = function (id) {
        var e = null;
        function find(node, id) {
            for (var _i = 0, _a = node.childrens; _i < _a.length; _i++) {
                var i = _a[_i];
                if (i.attributes.id == id)
                    return e = i;
                find(i, id);
            }
        }
        find(this, id);
        return e;
    };
    GUIDocument.prototype.getElementByKey = function (key) {
        var e = null;
        function find(node, key) {
            for (var _i = 0, _a = node.childrens; _i < _a.length; _i++) {
                var i = _a[_i];
                if (i.attributes.key == key)
                    return e = i;
                find(i, key);
            }
        }
        find(this, key);
        return e;
    };
    GUIDocument.prototype.getElementsByName = function (name) {
        var e = [];
        function find(node, name) {
            for (var _i = 0, _a = node.childrens; _i < _a.length; _i++) {
                var i = _a[_i];
                if (i.attributes.name == name)
                    return e.push(node);
                find(i, name);
            }
        }
        find(this, name);
        return e;
    };
    return GUIDocument;
}(GUINode));

2023-08-13T10:06:17 点赞:0