装备红点

This commit is contained in:
puxuan 2025-10-13 12:02:26 +08:00
parent 21b55ec9b6
commit f75e0fccf6
12 changed files with 23 additions and 6 deletions

View File

@ -37,6 +37,20 @@ namespace BF
public const bool SKIP_VERSION = false; public const bool SKIP_VERSION = false;
#endif #endif
#if BF_APP_DEV
public const bool BF_APP_DEV = true;
public const bool BF_APP_TEST = false;
public const bool BF_APP_PUBLISH = false;
#elif BF_APP_TEST
public const bool BF_APP_DEV = false;
public const bool BF_APP_TEST = true;
public const bool BF_APP_PUBLISH = false;
#else
public const bool BF_APP_DEV = false;
public const bool BF_APP_TEST = false;
public const bool BF_APP_PUBLISH = true;
#endif
public static char[] C_FREE_CHAR = new char[16] { public static char[] C_FREE_CHAR = new char[16] {
(char)('g' ^ (0x29 - 0)), (char)('g' ^ (0x29 - 0)),
(char)('w' ^ (0x29 - 1)), (char)('w' ^ (0x29 - 1)),

View File

@ -31,7 +31,7 @@ namespace XLua.CSObjectWrap
Utils.EndObjectRegister(type, L, translator, null, null, Utils.EndObjectRegister(type, L, translator, null, null,
null, null, null); null, null, null);
Utils.BeginClassRegister(type, L, __CreateInstance, 9, 2, 2); Utils.BeginClassRegister(type, L, __CreateInstance, 12, 2, 2);
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DESIGN_RESOLUTION_WIDTH", BF.GameConst.DESIGN_RESOLUTION_WIDTH); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DESIGN_RESOLUTION_WIDTH", BF.GameConst.DESIGN_RESOLUTION_WIDTH);
@ -42,6 +42,9 @@ namespace XLua.CSObjectWrap
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DEBUG", BF.GameConst.DEBUG); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DEBUG", BF.GameConst.DEBUG);
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "USE_AB", BF.GameConst.USE_AB); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "USE_AB", BF.GameConst.USE_AB);
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SKIP_VERSION", BF.GameConst.SKIP_VERSION); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SKIP_VERSION", BF.GameConst.SKIP_VERSION);
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BF_APP_DEV", BF.GameConst.BF_APP_DEV);
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BF_APP_TEST", BF.GameConst.BF_APP_TEST);
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BF_APP_PUBLISH", BF.GameConst.BF_APP_PUBLISH);
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "C_FREE_CHAR", _g_get_C_FREE_CHAR); Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "C_FREE_CHAR", _g_get_C_FREE_CHAR);
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "C_CONFIG_CHAR", _g_get_C_CONFIG_CHAR); Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "C_CONFIG_CHAR", _g_get_C_CONFIG_CHAR);

View File

@ -1191,7 +1191,7 @@ GameObject:
- component: {fileID: 3046896116386291497} - component: {fileID: 3046896116386291497}
- component: {fileID: 2607224896316937992} - component: {fileID: 2607224896316937992}
m_Layer: 5 m_Layer: 5
m_Name: auto_waer_btn m_Name: auto_wear_btn
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
@ -12718,12 +12718,12 @@ MonoBehaviour:
hashName: 2981769748 hashName: 2981769748
objectType: 1 objectType: 1
gameObject: {fileID: 1661029733709084910} gameObject: {fileID: 1661029733709084910}
- name: equip_info.equip_node.auto_waer_btn - name: equip_info.equip_node.auto_wear_btn
hashName: 2318243480 hashName: 1458774304
objectType: 0 objectType: 0
gameObject: {fileID: 684252214749597924} gameObject: {fileID: 684252214749597924}
- name: equip_info.equip_node.auto_waer_btn.text - name: equip_info.equip_node.auto_wear_btn.text
hashName: 3338618563 hashName: 2452820283
objectType: 0 objectType: 0
gameObject: {fileID: 3305500014741335493} gameObject: {fileID: 3305500014741335493}
- name: equip_info.equip_node.up_btn - name: equip_info.equip_node.up_btn