Commit 816714d6 authored by nanahira's avatar nanahira

Merge branch 'server' of git.mycard.moe:mycard/ygopro into server

parents 7199a6d4 a966352a
......@@ -278,7 +278,7 @@ jobs:
merge-multiple: true
- name: GitHub Release
uses: salix5/action-automatic-releases@node20
uses: salix5/action-automatic-releases@e0545bc14e9677f38aa573f1a52563022f987356
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "server-latest"
......
......@@ -8,9 +8,13 @@ namespace ygo {
unsigned char DataManager::scriptBuffer[0x100000] = {};
DataManager dataManager;
#ifdef YGOPRO_SERVER_MODE
static const char SELECT_STMT[] = "SELECT * FROM datas";
#else
static const char SELECT_STMT[] = "SELECT datas.id, datas.ot, datas.alias, datas.setcode, datas.type, datas.atk, datas.def, datas.level, datas.race, datas.attribute, datas.category,"
" texts.name, texts.desc, texts.str1, texts.str2, texts.str3, texts.str4, texts.str5, texts.str6, texts.str7, texts.str8,"
" texts.str9, texts.str10, texts.str11, texts.str12, texts.str13, texts.str14, texts.str15, texts.str16 FROM datas INNER JOIN texts ON datas.id = texts.id";
#endif
DataManager::DataManager() : _datas(32768), _strings(32768) {
extra_setcode = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment