Giter Club home page Giter Club logo

luban_examples's Issues

请问一下list表的index怎么混用多键联合索引与多键独立索引?

你好,我现在在做一个装备表,里面有这个需求,就是同一件装备有不同的等级,每个不同的等级都是独立的数据,也有独立的id。现在我想既能通过id获取这件装备数据,也想通过这件装备的名称+等级的形式获取对应的装备数据,所以想将联合索引和独立索引同时使用。现在我试了一下,好像通过,与+行不通。请问现在能实现这种么?

请教一下,map 如何嵌套 自定义的bean

# # id--------|---------------------- *test---------------------------|
##type string |---------- map,string,XXBean---------------------------|
##var --------|----------|bean_prop_a | bean_prop_b | bean_prop_c |
# # 表的key | map的key | bean字段a | bean字段b | bean字段c |

map嵌套的bean 如何使用var 限定字段

Cpp_Unreal_bin 转换失败

unreal 的项目转换的时候可空数据的转换有问题,没有转换成功

   bool test::DemoDynamic::deserializeDemoDynamic(ByteBuf& _buf, test::DemoDynamic*& _out)
    {
        int id;
        if (!_buf.readInt(id)) return false;
        switch (id)
        {
            case test::DemoD2::ID: { _out = new test::DemoD2(); if (_out->deserialize(_buf)) { return true; } else { delete _out; _out = nullptr; return false;} }
            case test::DemoE1::ID: { _out = new test::DemoE1(); if (_out->deserialize(_buf)) { return true; } else { delete _out; _out = nullptr; return false;} }
            case test::DemoD5::ID: { _out = new test::DemoD5(); if (_out->deserialize(_buf)) { return true; } else { delete _out; _out = nullptr; return false;} }
            default: { _out = nullptr; return false;}
        }
    }

好像会id读个0 然后直接返回了失败

GDScript

func get(key):
loader.call(
这两个现在在godot4下都会报错

mac下临时用替换处理了
sed -i "" "s/get(/get_tb(/g" ${WORKSPACE}/auto_gen/config_data/types.gd
sed -i "" "s/loader.call(/loader.load(/g" ${WORKSPACE}/auto_gen/config_data/types.gd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.