Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
1个文件已删除
2个文件已添加
301个文件已修改
| | |
| | | static public LaunchStage currentStage { get { return m_CurrentStage; } }
|
| | |
|
| | | static float m_Progress = 0f;
|
| | | static public float progress {
|
| | | static public float progress
|
| | | {
|
| | | get { return m_Progress; }
|
| | | set {
|
| | | set
|
| | | {
|
| | | if (m_Progress != value)
|
| | | {
|
| | | m_Progress = value;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private byte m_Step = 0;
|
| | |
|
| | | void Start()
|
| | | {
|
| | | m_Step = 0;
|
| | | SoundPlayer.Instance.PlayLoginMusic();
|
| | | Config.Instance.PreLoadConfigs();
|
| | | ServerListCenter.Instance.RequestJumpUrl();
|
| | |
|
| | | WindowCenter.Instance.OpenFromLocal<LaunchWin>();
|
| | | DebugUtility.Instance.CreateDebugRoot();
|
| | |
|
| | | StartCoroutine(Co_Lanuch());
|
| | | }
|
| | |
|
| | | void Update()
|
| | | {
|
| | | if (m_Step == 1)
|
| | | {
|
| | | ServerListCenter.Instance.RequestJumpUrl();
|
| | | m_Step = 2;
|
| | | }
|
| | | }
|
| | |
|
| | | IEnumerator Co_Lanuch()
|
| | |
| | | yield return null;
|
| | | }
|
| | | #endif
|
| | |
|
| | | m_Step = 1;
|
| | | var cpu = 2;
|
| | | var memory = 2048;
|
| | | DeviceUtility.GetCpuAndMemory(out cpu, out memory);
|
| | |
| | |
|
| | | if (_playEffect)
|
| | | {
|
| | | m_Effect = SFXPlayUtility.Instance.PlayEffectAsync(m_SkillConfig.BuffEffectID, _target);
|
| | | m_Effect = SFXPlayUtility.Instance.PlayBattleEffect(m_SkillConfig.BuffEffectID, _target);
|
| | | if (m_Effect)
|
| | | {
|
| | | m_Effect.m_OnFinished += OnEffectOver;
|
| | |
| | | fileFormatVersion: 2 |
| | | guid: dc4d13d8870f71a41837b821c9d0e063 |
| | | folderAsset: yes |
| | | timeCreated: 1542787882 |
| | | timeCreated: 1542892648 |
| | | licenseType: Pro |
| | | DefaultImporter: |
| | | userData: |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 366ef616cf2798c4db442a16e1431ee4 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f9502491d5407e947b6353c15dc1588c |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 575c508f17509084599574c537caaea3 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1052d29a5ac367140af65e0ab05e34fe |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ed7a78ecdf6443a408a4cfddd15b1a2b |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7367406c7d706a049ac48703baaf9f28 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 903c8091fd11a4c4f8ebec1dda3e21c9 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2853dbf742661134c85ca228df893351 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 85efaee8cda3b4a4296558d4a1324604 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b8a0a9d0f3042574cb864dbe49c409ff |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 742ba637d1995814289a525960538a5e |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 65ba713f20de65b49ad7d5ad35a285b8 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e67d2566b86a54840bd1e2741653bd5a |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2b64a4df45954f646a1dd57f9d36d706 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 720623b7498f49b43afcae0922e43101 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2f272517dccc3784ea7d5c8c5264ac31 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5594336958101ed4fb3cc3c7a3675511 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e75b5ad272c6d1f4889f4a60e014f759 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 57eea5bf27d44c44a836bd30700f4c90 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9a322da19987dbc4fa65ded8f50eba20 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp10(object p0, ScrollerDataType p1, object p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | ObjectTranslator translator = luaEnv.translator; |
| | | translator.PushAny(L, p0); |
| | | translator.Push(L, p1); |
| | | translator.PushAny(L, p2); |
| | | |
| | | PCall(L, 3, 0, errFunc); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public StoreModel __Gen_Delegate_Imp11(object p0) |
| | | public StoreModel __Gen_Delegate_Imp10(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp12(object p0) |
| | | public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp11(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp13(object p0) |
| | | public bool __Gen_Delegate_Imp12(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp14(object p0) |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp13(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp15(object p0, object p1) |
| | | public void __Gen_Delegate_Imp14(object p0, object p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp16(object p0, out int p1) |
| | | public bool __Gen_Delegate_Imp15(object p0, out int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp17(object p0, int p1) |
| | | public void __Gen_Delegate_Imp16(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 38127c1aba2f2f84180f8641b5485b6d |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892650 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9a293067c341ace46a9ad6875b463be6 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6a988e256acba494eadcc20a3999d360 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bfe0ba41c73fa5d4899da5f0a81086f6 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6e78a5286980d6a4387dbc681c8ce8f4 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 67758631677f240498cb4e8869b58e5a |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d954292965128ac4b8ad86c0789b2621 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(EquipWashModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 32, 23, 6); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 33, 24, 6); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurWashModel", _m_SetCurWashModel); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReFreshModel", _m_ReFreshModel); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetModelOrder", _m_SetModelOrder); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByIsPutOn", _m_CompareByIsPutOn); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroups3", _g_get_washGroups3); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isWashUI", _g_get_isWashUI); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isMustAddAttr", _g_get_isMustAddAttr); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "curWashEquip", _g_get_curWashEquip); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "mustWashMatId", _g_get_mustWashMatId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "washPlacelist", _g_get_washPlacelist); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "washProlist", _g_get_washProlist); |
| | |
| | | { |
| | | |
| | | gen_to_be_invoked.OnPlayerLoginOk( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SetCurWashModel(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _index = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | gen_to_be_invoked.SetCurWashModel( _index ); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_curWashEquip(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.curWashEquip); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_mustWashMatId(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d134f1057834f5e49a5d8b94c8f845bb |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e5e79b18419e49e438bb35a1a3edf542 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c1a5d7f841dd1074488292bdd04b411f |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 77cabfb770b6b2b4e9f5303e2955ddac |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c52c6861b77786143b4b10ef43463a05 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 776516ba62464d6499d794710cf35ad0 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1e173f66b6a9b1446ba7bbea76d51647 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 16eecc21a0392494abde7ecaa0a8832d |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 831c99c185e7f1a48acbcd3c23093a7a |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 86a069a303fdb7f4383a64d5fb5c45a9 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bcc451f8eb19c3e40898480e29da495e |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 29e52f2a27fea7d429c21fcadc9c8bbf |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e1c6a0360e313da4eab15eae14f2d92a |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ad75d722cf8b88449a9c736f1893d782 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 64e7cf853bbf4bf42adef5e2e1a94dfd |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b9323ca02b46d26458c6fe6acb4aac12 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8e95293ea9fc1a74990ade8588c60553 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b289e75fb1c763a46bb13f8524351dae |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3c1a0d27eaf9e0145b0d0018ca48c0b1 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1437d7bba566e504099d72d7ae48720d |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d898d9ee8214b424290a033b4f8d210a |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 742281ed58b42804493142160cedb706 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 51676a4765e51774faa3999806d84e4a |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 826c927effcbdeb46acff0a6dfdceb6a |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2c53ea58fddcb0f45a1e6f8f6cbc69ee |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ff522c98d61db384ea53d63f06b160e7 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892706 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8680fba7267ca044b97790a1053bc054 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4c03aab61a5a77c4bbf0d44f8d7a4388 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e3dcc9780e97eb0408f1801048b32087 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 05c7e245befdd69469423894f563652b |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3dfac8c26173ab64785fd29ea8ecd26b |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d4fb42a3e4308d44c9eb0c79686faa97 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ede522b8cf69edd4da535db4eedfc8f2 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a0c6c75008b1bee4fade9867db5126ac |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9fc52aecd7f5e3440a526bb1da56c0b2 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3eb2eeb0d312e294492ba8df035cf399 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0d3f054e3d96eb448a4df5a6cc3d37a1 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e0050a9ffeb549f49ae3dfa996aac9b9 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 443c90b4b7e2ebc48bb495dff02ab125 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7f5b1e9efce473c4cb81157946499def |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bb4f06d30c4617340a36302fffbd9807 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b7b4d10ec07658347aacc1dd71b21379 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cdbe72c783d234a4e95064569328bf88 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e20be7566bae86a40bb5da178c4b869e |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: edbf072288603014abba0af3dacf6284 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f5ed1c6c3115386429a0e5046dc73d95 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3c0c3a3ee7ac3d54489db66bee9e0da4 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: aab2171e55e4960439ffa056abe6ade7 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9c14f21446dd8234884140c3874503ba |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2941dc2494d939445afc44dd89d7a812 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 83c52f4ac532a4b48be383ac8f7a7c16 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2aae40723e375b94389e06a7208bb9d1 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1e1fc048d20a48f4fa78a3f1a9395fcf |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6cc2176a3805d724eb566af133ea7af5 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | | |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 2, 1, 0); |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 2, 3, 0); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetApplicationContext", _m_GetApplicationContext_xlua_st_); |
| | | |
| | | |
| | | |
| | | Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "builtinAssetCopyFinished", _g_get_builtinAssetCopyFinished); |
| | | Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Yj_AppID", _g_get_Yj_AppID); |
| | | Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Yj_SpID", _g_get_Yj_SpID); |
| | | Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "builtinAssetCopyFinished", _g_get_builtinAssetCopyFinished); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_Yj_AppID(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | LuaAPI.lua_pushstring(L, SDKUtility.Yj_AppID); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_Yj_SpID(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | LuaAPI.lua_pushstring(L, SDKUtility.Yj_SpID); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_InitFinished(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b28dd16e04195c84ab4833cc1ccfd94e |
| | | timeCreated: 1542787892 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c98f51a10421287449b92b04c366fe80 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b228f3e0ca3f5d94585a1d0ea10ee09c |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f0eb44f25c31731408c2bf02535cc833 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f96e5d71694078648b3e81d014b7f4ec |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 83f82d7fc20bb404f92d95b531bd19b9 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e51a94726bd39b1428959de7c1026701 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 19db0b90a16aab94a8700f3d92a0b84d |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d4b6552434c4bf247908e89aab218761 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bc20d93b1cfe4274aa136a34f23b29ce |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 65ecd44b662fd2242ae24f6bfc8e6ee4 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9d8abcd8d920a04418c38f2ea45f7bd6 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 67b682d35abe8a14a961168bb88c68ac |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b1024eb9474128e41bd640f6c3b33f87 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4e7f587911ad1a5499a9e4a8b8b6c9ac |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a9d62babd45b7934ca0c5a15889ec95c |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 10a962aa0fe28e249826e49bc7a6aba7 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: acf6615851439784dadba24b9f23bff6 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0a8ab45402c85f240bce9fdde4dee238 |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cd76736fa49885e4bb804a441e8129da |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 431a6169055f3d54e88f58f576f50bae |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3517bd5cd5dcdb849b47f0e7874404e9 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 35141eb4f8d4e0b4596071530a48dbdc |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 33d0ac81552d8944d8e2b34adda63494 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 34d58d96b49dee445aec87d6f8c13942 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7598ad4a29bcded4b9a5f8874f28a0c9 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5d8319c3d7861b740b45a1f31af88563 |
| | | timeCreated: 1542787888 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b481275ca90afeb49bf52efc8cc81e66 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c29ed11e2d46a9c4f8e48fdacaef75d0 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 35edba0768f17624aa0a208fdb3ccd61 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.DungeonAssistModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 7, 2, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 10, 2, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHelpInfoLocalSave", _m_SetHelpInfoLocalSave); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetAssistResult", _m_TryGetAssistResult); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayer", _m_UpdataAssistPlayer); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistResult", _m_UpdateAssistResult); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateResultEvent", _e_UpdateResultEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayerEvent", _e_UpdataAssistPlayerEvent); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpInfoLocalSave", _g_get_helpInfoLocalSave); |
| | |
| | | |
| | | { |
| | | string _info = LuaAPI.lua_tostring(L, 2); |
| | | bool _isNew = LuaAPI.lua_toboolean(L, 3); |
| | | |
| | | gen_to_be_invoked.SetHelpInfoLocalSave( _info ); |
| | | gen_to_be_invoked.SetHelpInfoLocalSave( _info, _isNew ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_TryGetAssistResult(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string __info = LuaAPI.lua_tostring(L, 2); |
| | | string __result; |
| | | bool __isNew; |
| | | |
| | | bool gen_ret = gen_to_be_invoked.TryGetAssistResult( __info, out __result, out __isNew ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | LuaAPI.lua_pushstring(L, __result); |
| | | |
| | | LuaAPI.lua_pushboolean(L, __isNew); |
| | | |
| | | |
| | | |
| | | |
| | | return 3; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | |
| | | { |
| | | |
| | | gen_to_be_invoked.UpdataAssistPlayer( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UpdateAssistResult(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.UpdateAssistResult( ); |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_UpdateResultEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.UpdateResultEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.UpdateResultEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdateResultEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_UpdataAssistPlayerEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0c4f170a0e60c1f4d8390712889c2037 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5fc3169b30fc1ae4885e31f8ddb884ad |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6eef41c9063ba58439822400982fb465 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ebc824bbbf716204db0a7dd1b6432900 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 44791766fdc6e5b4aa84e31f18eb8313 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 59359b936262095478e72944710f44d5 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 52e06f48a20c14c4c8382c613aa69686 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 080467fae347c5e4f87e034c641ab681 |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cdfa7b8751044b44ca2d7d4577399cec |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e00f0b5898703144a96436f92fc448b3 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8cabe004b5cc89c449f55cca62e45d87 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 04023a30a754f7241ae20762f76b630c |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2121c8a8875993c4a973f7c28b29673b |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2fa5a5fc5dca0e8439001de2495e9899 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3cef829b4f138c543aa1ee99a0b4177c |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 712a87bd2e43c1d45ad766b53de6b5bd |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5bfda560a319f6040b21bd19fd0a69a2 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ffaa2a2d7630abc428a55ea2072068fb |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892706 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c9596efa8419cc044b73fc82e697890c |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c6291f150fca89d48b41ab0b26ec2137 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e23ea9b6be09d5a48aeb5a14b39d3cf0 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ff38296aef3e2da46863df35d91d92aa |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892706 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a74227626a407f940a257b888c2534eb |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8e2c9a9f5ab32924db74f0bdd61ae1b1 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 320fad661ef112542a682fa83335451e |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e6d30c3f8b1abf9488d72aa7e86b04fb |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 38f643aee0976f24aba4cd55a33ad59c |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0d0a9385bbd8291469659b1c795cfb7a |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: dc63883ab698291438f5632eed262c38 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8857b8ac5c10c1c46b68cce4d3c9b429 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f8a5a2ad126e5af448c3c3ab4e862d5d |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 06578f1ce7db3ad4890941f7cdbfc521 |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bfba1164f8c10c24e9e638523ea9d281 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4d028498045645c4dbc9ea7c97e1405c |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 896fb0af0ecfcaa41b1bd6202498fa0c |
| | | timeCreated: 1542787890 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 80b2913261dbda24c8015736780ad730 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: aefcced4a62a09846a816cdd52fd0fd5 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 80a60d8a976330d44ad04987842a7a2f |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e647675c83372d94faa7f1d0c0a71990 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cc16e78485e0cc54a9de310d4f20585d |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 184ea66fdd47f5845bf378baabb48f50 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 48896e8ac4fe3e04cb56190be95ad16e |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6e1a755e1f65708448dceca8b6c2ae6f |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892651 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 27d94d735ae38f143890a001d9941b5e |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e68a02949c361904996cbe52470702d2 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892651 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0b7360ccc546c954fb5cfb767b8c8ac1 |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c50d79c8d8550ea4c903207fdc0619dc |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 288bc8f0f2b492c43b7e1abb0c93b271 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b38f6da1afb9cab4a8ebe956d0ef70dc |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a4b59e2b5f1c51c4bb0dc4cec7d66cae |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a75be801f80356049a2e0800c8514bbb |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c1da5e6ed1826bb45a261d57439c0cf6 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ff2ad26384e9c4c44bb3659fc84fb939 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f97bd5cb158e7c84792b879af71e31d0 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 431f9417cee8a224fa6ffa39a745a8e0 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6f7079cfbbcfd2d4e8a4a4ba755b31d9 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | |
| | | |
| | | { |
| | | int __curStarsCount = LuaAPI.xlua_tointeger(L, 2); |
| | | int _starsCount; |
| | | |
| | | System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetAddAttrIdByStars( out _starsCount ); |
| | | System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetAddAttrIdByStars( __curStarsCount, out _starsCount ); |
| | | translator.Push(L, gen_ret); |
| | | LuaAPI.xlua_pushinteger(L, _starsCount); |
| | | |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ca5a3371c10a33f499a5765438d0cbee |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 295b6a9e0ff213944b3c9313fd5df193 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5093dd8dccd0ffc4583099d1c2d68b1f |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f9403e4630f3fc5478cd79acce0d4081 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1cc9cc8ffb4b42b4b8588096103346c2 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 87f4f6943faef864aaf2a3a2e4c8c746 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5394c7fbf196b9a4eab534c240b7f963 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e89b5cefbd699924992bd979307ce9be |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b0baab9ef76072b40956c8409e0cb73a |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a0ab36028c9ef7b4a9ee0598af59866d |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6fe686db582793c4fa1f207ba4502658 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 47e4575cd41b3e64b98c6b07f3df3ffa |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0bf5bb7b7d505f945b1444602423817a |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7d9cbfb2f3cb4ef4997476166c75ebd2 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 010c47966f9b9164bbf31f61dae668f5 |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e07187f9b5216ca4b81abf50cf9332cf |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b6df7d36a433a5247947b283f906c813 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892700 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 38c134d9c115dbd4180fa42ccfbe0b6b |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 52832d915ae39d2409d8473f22f49173 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1e19041e473f41b4dade835092a7266b |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5d797b770e8f4164daf5fdce8019e205 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0be4ca78de9687345bb3b4ef18baa86b |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.SignInModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 5, 10, 2); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 5, 8, 2); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshData", _m_OnRefreshData); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSignRefresh", _e_OnSignRefresh); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "signAwardList", _g_get_signAwardList); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "cntSignList", _g_get_cntSignList); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "ctnSignJade", _g_get_ctnSignJade); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "signNum", _g_get_signNum); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "surSignNum", _g_get_surSignNum); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "todaySign", _g_get_todaySign); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isFirst", _g_get_isFirst); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "SumSignNum", _g_get_SumSignNum); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "keepSignInCost", _g_get_keepSignInCost); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "alreadySignInCount", _g_get_alreadySignInCount); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "keepSignInCount", _g_get_keepSignInCount); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "todaySignIn", _g_get_todaySignIn); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsFirstMonth", _g_get_IsFirstMonth); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "totalSignInCount", _g_get_totalSignInCount); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint", _g_get_redpoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_ContinueJobItems", _g_get_m_ContinueJobItems); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_KeepSignInItemDict", _g_get_m_KeepSignInItemDict); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "redpoint", _s_set_redpoint); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_ContinueJobItems", _s_set_m_ContinueJobItems); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_KeepSignInItemDict", _s_set_m_KeepSignInItemDict); |
| | | |
| | | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_signAwardList(RealStatePtr L) |
| | | static int _g_get_keepSignInCost(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.signAwardList); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.keepSignInCost); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_cntSignList(RealStatePtr L) |
| | | static int _g_get_alreadySignInCount(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.cntSignList); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.alreadySignInCount); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_ctnSignJade(RealStatePtr L) |
| | | static int _g_get_keepSignInCount(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ctnSignJade); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.keepSignInCount); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_signNum(RealStatePtr L) |
| | | static int _g_get_todaySignIn(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.signNum); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.todaySignIn); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_surSignNum(RealStatePtr L) |
| | | static int _g_get_IsFirstMonth(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.surSignNum); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsFirstMonth); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_todaySign(RealStatePtr L) |
| | | static int _g_get_totalSignInCount(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.todaySign); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_isFirst(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isFirst); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_SumSignNum(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SumSignNum); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.totalSignInCount); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_m_ContinueJobItems(RealStatePtr L) |
| | | static int _g_get_m_KeepSignInItemDict(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.m_ContinueJobItems); |
| | | translator.Push(L, gen_to_be_invoked.m_KeepSignInItemDict); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _s_set_m_ContinueJobItems(RealStatePtr L) |
| | | static int _s_set_m_KeepSignInItemDict(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SignInModel gen_to_be_invoked = (Snxxz.UI.SignInModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.m_ContinueJobItems = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)); |
| | | gen_to_be_invoked.m_KeepSignInItemDict = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)); |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 854a6ebd3b9a10944a697b7d97dcaba9 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c292fa3fe328a5b46a715d35cbd2ff15 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 99f62f19aed557649ba25b4b2a06fba6 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6fa1c8ced3fac4345baf9ea51cbd43f8 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 82f6fccc511674f4984f208636a9221b |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4fb4960f223157e47aac6e71fc04ac16 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3c80f1a0181df9a468ea1bfb3a4aec53 |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3542b5cce769e26439883aba69430d7c |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c4be420c146b060438d4a6f6336794ef |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c25c51b69d20873418fb05e93549cfdb |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892701 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a6bc1aa4349cc83439c92ef4796305e8 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8bd6f495dedd51a46a74a824278cc866 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7b4abc2a3ca957b44a968e8033558a68 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 12598597a652e2b42b113679a5bf4bf4 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8b1987db7a470484dae7f3fd1db72def |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 315738d31a74fb64393860f94fd54e3b |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892650 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4f195a50e42f8ce4a9c158b851384ba6 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 82ef44cf21a8cfb43a66b0ab06f7634b |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c86d95025e071234f9dd598f6ef86414 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 896b185c10edd6b45808617c8f1d2068 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 179295a50262be046be00a8397aeb9b0 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 40e558ed931d2ae41ab298cf14318768 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 17a9984a5cd08e34ab884caa4d6c71fb |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6d8d613eff156b8468e98bc7f3eeb1bc |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ee2bb110aab91814191301ea984f9857 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 164aa39925cedb2438117a5a6ede7e41 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 57f0dd429fbdbc54cae34b105f0ab6ce |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 40fe2a17a6798cc4a882caf7e71f18f2 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7f1893d796d1fa94fa36426bc2965843 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 822f3e4391117494eaef4ad830ee2751 |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 62542cdc4da26af44aaed12f3c11f7c3 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ebd7ee352d228e94db0f1a0d0b614a17 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6c7952e1f4a41c344b1151aa02cba3ce |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2f268016181278b46a3bdc8850d3205e |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f46cd0fb92220224ca20fbc6af163b43 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3f9d51ae352f8e2458d0804995f9df10 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6514703ebb7916f44874457055b168cc |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 59c130622e06a624c8f7a813ae8980d5 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d5a462752909cae498291208b8a2d835 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7e21841df217253489767d9a17153d9f |
| | | timeCreated: 1542789678 |
| | | timeCreated: 1542892697 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4737cca69ceb4fd4f94c8382165a314e |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e1c8280687b3f764cac9c64749a3dcff |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c7569a236c9760840bec447ceec817f7 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7115cfc72beb4d447a469885d955ff9d |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0dbe43e2202c42e48a194e017afc35c4 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4e6a4247db787454d877da96a4f9e0cb |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4123dac3cfca9d342bbba92f423e5876 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ffcd04cd2ce98fe4bba52c7c75d3ef39 |
| | | timeCreated: 1542789685 |
| | | timeCreated: 1542892706 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f543b7eb3361d1646aa5cdf856ff9ae6 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: fd298b5b25f472d4bbbd3e255238e1a4 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1b9b5724b58215046833ad9a33467304 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1796fef401dca2b49b63e0de291f8dd6 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2464e0d563e2d4f4e8661631cd3b1853 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 57e1f223b7441c74eaaed112f32f4276 |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892694 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d2334dcae7d69cd409c6efb246c6e6b6 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892703 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 39c32bef984ef484e99aedd81dc9be1f |
| | | timeCreated: 1542789674 |
| | | timeCreated: 1542892692 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c9c4bc4b62136584a93f4fa13c661d00 |
| | | timeCreated: 1542789682 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 88d577acadc3bcc4a9923785675d3d83 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 03b0cc9f5eac0174182e7d00e03d216a |
| | | timeCreated: 1542789671 |
| | | timeCreated: 1542892688 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 636d7b332d92eaf4290bebbef9182f4a |
| | | timeCreated: 1542789676 |
| | | timeCreated: 1542892695 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0fc02a3f4bbd41a4b9af2fecead23f6d |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f7adaf92af6cfde4eae80c32e354bd0b |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f1424a6b868452b4da46e73d11fdc678 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c6e561828e791734c9f1169f0a2b6219 |
| | | timeCreated: 1542789681 |
| | | timeCreated: 1542892702 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 27ea589794e866340b8cfd604b8c3e64 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892691 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: fe789d4f79521ab4096a8f71b43e46a0 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f892e67e8dd805d499e47a43c058f597 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 732e783f81a83e14e8cdc0baccffeee9 |
| | | timeCreated: 1542789677 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1ee87da8277f62249b5ad6b9706f2282 |
| | | timeCreated: 1542789673 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a07f30e386d2f6540bb9c4708d685418 |
| | | timeCreated: 1542789679 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1c7d1da32a269dc47915473fa1c87df2 |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892690 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: edcfec831a0496b4c9250b4f3b169da5 |
| | | timeCreated: 1542789683 |
| | | timeCreated: 1542892704 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 70d5423a052d756449c0aceac6627a06 |
| | | timeCreated: 1542787889 |
| | | timeCreated: 1542892696 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a8ae24a5d19c30b4fbe3ef211808c940 |
| | | timeCreated: 1542789680 |
| | | timeCreated: 1542892699 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 19d96167c7c8cbc4086963374d7e50eb |
| | | timeCreated: 1542789672 |
| | | timeCreated: 1542892689 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4c7103d4cb4d58b40bd056ba0d72bea4 |
| | | timeCreated: 1542789675 |
| | | timeCreated: 1542892693 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: feaa4dacd000a82468e6ed9dd02dc693 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f145ec802b6c055479f081527d83f647 |
| | | timeCreated: 1542789684 |
| | | timeCreated: 1542892705 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8babb5fb6c492df4199b8f2698b16386 |
| | | timeCreated: 1542874645 |
| | | timeCreated: 1542892698 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9b295ed99fb918f4490d2bbafe31d761 |
| | | timeCreated: 1542789685 |
| | | timeCreated: 1542892706 |
| | | licenseType: Pro |
| | | TextScriptImporter: |
| | | userData: |
| | |
| | | {
|
| | | public string helpInfoLocalSave { get; private set; }
|
| | | public List<string> helpInfolist { get; private set; }
|
| | |
|
| | | public event Action UpdateResultEvent;
|
| | | public override void Init()
|
| | | {
|
| | |
|
| | |
| | | helpInfolist = helpInfos == null ? null : helpInfos.ToList();
|
| | | }
|
| | |
|
| | | public void SetHelpInfoLocalSave(string info)
|
| | | public void SetHelpInfoLocalSave(string info,bool isNew)
|
| | | {
|
| | | helpInfolist = helpInfolist == null ? new List<string>() : helpInfolist;
|
| | | if (helpInfolist.Count >= 20)
|
| | | {
|
| | | helpInfolist.RemoveAt(0);
|
| | | }
|
| | | info = StringUtility.Contact(info, "|", isNew);
|
| | | helpInfolist.Add(info);
|
| | | LocalSave.SetStringArray(helpInfoLocalSave, helpInfolist.ToArray());
|
| | | if(UpdateResultEvent != null)
|
| | | {
|
| | | UpdateResultEvent();
|
| | | }
|
| | | }
|
| | |
|
| | | public bool TryGetAssistResult(string _info,out string _result,out bool _isNew)
|
| | | {
|
| | | string[] array = _info.Split('|');
|
| | | _isNew = false;
|
| | | _result = string.Empty;
|
| | | if(array.Length > 1)
|
| | | {
|
| | | _result = array[0];
|
| | | bool.TryParse(array[1], out _isNew);
|
| | | return true;
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
|
| | | public event Action UpdataAssistPlayerEvent;
|
| | |
| | | UpdataAssistPlayerEvent();
|
| | | }
|
| | | }
|
| | |
|
| | | #region 协议
|
| | | public void UpdateAssistResult()
|
| | | {
|
| | | |
| | | }
|
| | | #endregion
|
| | |
|
| | | public class AssistResult
|
| | | {
|
| | | public DateTime createTime;
|
| | | public ResultType resultType;
|
| | | public string info;
|
| | | public bool isNew { get; private set;}
|
| | | public void SetResult()
|
| | | {
|
| | | createTime = TimeUtility.ServerNow;
|
| | | SetResultIsNew(true);
|
| | | info = string.Empty;
|
| | | switch (resultType)
|
| | | {
|
| | | case ResultType.SelfGetScore:
|
| | | info = Language.Get("DungeonAssist101");
|
| | | break;
|
| | | case ResultType.SelfNoGetScore:
|
| | | info = Language.Get("DungeonAssist102");
|
| | | break;
|
| | | case ResultType.SelfGetVipScore:
|
| | | info = Language.Get("DungeonAssist103");
|
| | | break;
|
| | | case ResultType.SelfRealmGetScore:
|
| | | info = Language.Get("DungeonAssist104");
|
| | | break;
|
| | | case ResultType.SelfRealmNoGetScore:
|
| | | info = Language.Get("DungeonAssist105");
|
| | | break;
|
| | | case ResultType.SelfRealmGetVipScore:
|
| | | info = Language.Get("DungeonAssist106");
|
| | | break;
|
| | | case ResultType.AssistGetScore:
|
| | | info = Language.Get("DungeonAssist114");
|
| | | break;
|
| | | case ResultType.AssistGetVipScore:
|
| | | info = Language.Get("DungeonAssist116");
|
| | | break;
|
| | | case ResultType.AssistGetFriendScore:
|
| | | info = Language.Get("DungeonAssist117");
|
| | | break;
|
| | | case ResultType.AssistGetUnionScore:
|
| | | info = Language.Get("DungeonAssist118");
|
| | | break;
|
| | | case ResultType.AssistGetFriendAndVipdScore:
|
| | | info = Language.Get("DungeonAssist120");
|
| | | break;
|
| | | case ResultType.AssistGetUnionAndVipdScore:
|
| | | info = Language.Get("DungeonAssist119");
|
| | | break;
|
| | | case ResultType.AssistNoGetScore:
|
| | | info = Language.Get("DungeonAssist115");
|
| | | break;
|
| | | case ResultType.AssistRealmGetScore:
|
| | | info = Language.Get("DungeonAssist107");
|
| | | break;
|
| | | case ResultType.AssistRealmGetVipScore:
|
| | | info = Language.Get("DungeonAssist109");
|
| | | break;
|
| | | case ResultType.AssistRealmGetFriendScore:
|
| | | info = Language.Get("DungeonAssist110");
|
| | | break;
|
| | | case ResultType.AssistRealmGetUnionScore:
|
| | | info = Language.Get("DungeonAssist111");
|
| | | break;
|
| | | case ResultType.AssistRealmGetFriendAndVipdScore:
|
| | | info = Language.Get("DungeonAssist113");
|
| | | break;
|
| | | case ResultType.AssistRealmGetUnionAndVipdScore:
|
| | | info = Language.Get("DungeonAssist112");
|
| | | break;
|
| | | case ResultType.AssistRealmNoGetScore:
|
| | | info = Language.Get("DungeonAssist108");
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | public void SetResultIsNew(bool _isNew)
|
| | | {
|
| | | this.isNew = _isNew;
|
| | | }
|
| | | public enum ResultType
|
| | | {
|
| | | SelfGetScore,
|
| | | SelfNoGetScore,
|
| | | SelfGetVipScore,
|
| | | SelfRealmGetScore,
|
| | | SelfRealmNoGetScore,
|
| | | SelfRealmGetVipScore,
|
| | | AssistGetScore,
|
| | | AssistGetVipScore,
|
| | | AssistGetFriendScore,
|
| | | AssistGetUnionScore,
|
| | | AssistGetFriendAndVipdScore,
|
| | | AssistGetUnionAndVipdScore,
|
| | | AssistNoGetScore,
|
| | | AssistRealmGetScore,
|
| | | AssistRealmGetVipScore,
|
| | | AssistRealmGetFriendScore,
|
| | | AssistRealmGetUnionScore,
|
| | | AssistRealmGetFriendAndVipdScore,
|
| | | AssistRealmGetUnionAndVipdScore,
|
| | | AssistRealmNoGetScore,
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| New file |
| | |
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | | using EnhancedUI.EnhancedScroller;
|
| | |
|
| | | namespace Snxxz.UI
|
| | | {
|
| | | public class DungeonAssistResultCell : ScrollerUI
|
| | | {
|
| | | [SerializeField] Text result;
|
| | | [SerializeField] Image newImg;
|
| | |
|
| | | DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); } }
|
| | |
|
| | | public override void Refresh(CellView cell)
|
| | | {
|
| | | var resultlist = assistModel.helpInfolist;
|
| | | string resultInfo = resultlist[cell.index];
|
| | | bool isNew = false;
|
| | | string info = string.Empty;
|
| | | assistModel.TryGetAssistResult(resultInfo,out info,out isNew);
|
| | | result.text = info;
|
| | | newImg.gameObject.SetActive(isNew);
|
| | | }
|
| | | }
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e061ad301a6e0734c8f432fe713bc839 |
| | | timeCreated: 1542878431 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | public class DungeonAssistWin : Window
|
| | | {
|
| | | [SerializeField] ScrollerController resultCtrl;
|
| | | [SerializeField] Text assistNumText;
|
| | | [SerializeField] Text dayScoreText;
|
| | | [SerializeField] Text dungeonScoreText;
|
| | | [SerializeField] Button closeBtn;
|
| | | [SerializeField] Button storeBtn;
|
| | | [SerializeField] Button registerBtn;
|
| | |
|
| | | DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); } }
|
| | |
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | | resultCtrl.OnRefreshCell += RefreshResultCell;
|
| | | |
| | | }
|
| | |
|
| | | protected override void AddListeners()
|
| | |
| | |
|
| | | protected override void OnPreOpen()
|
| | | {
|
| | |
|
| | | assistModel.UpdateResultEvent += UpdateResult;
|
| | | SetDisplay();
|
| | | }
|
| | |
|
| | | protected override void OnAfterOpen()
|
| | |
| | |
|
| | | protected override void OnPreClose()
|
| | | {
|
| | | |
| | | assistModel.UpdateResultEvent -= UpdateResult;
|
| | | }
|
| | |
|
| | | protected override void OnAfterClose()
|
| | |
| | | }
|
| | | #endregion
|
| | |
|
| | | private void RefreshResultCell(ScrollerDataType type, CellView cell)
|
| | | private void SetDisplay()
|
| | | {
|
| | | CreateResultCell();
|
| | | }
|
| | |
|
| | | private void CreateResultCell()
|
| | | {
|
| | | var resultlist = assistModel.helpInfolist;
|
| | | if(resultlist != null)
|
| | | {
|
| | | resultCtrl.Refresh();
|
| | | for(int i = 0; i < resultlist.Count; i++)
|
| | | {
|
| | | resultCtrl.AddCell(ScrollerDataType.Header,i);
|
| | | }
|
| | | resultCtrl.Restart();
|
| | | }
|
| | | }
|
| | |
|
| | | private void UpdateResult()
|
| | | {
|
| | | CreateResultCell();
|
| | | }
|
| | |
|
| | | private void ClickAssistRegister()
|
| | | {
|
| | | throw new NotImplementedException();
|
| | | |
| | | }
|
| | |
|
| | | private void ClickStore()
|
| | | {
|
| | | throw new NotImplementedException();
|
| | | WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.StoreFunc5);
|
| | | }
|
| | |
|
| | |
|
| | |
| | |
|
| | | model.dungeonCoolDownEvent += OnLeaveMapTimeEvent;
|
| | | MainInterfaceWin.Event_Duplicates += OnChangeFuncBtnPosEvent;
|
| | | WindowCenter.Instance.windowAfterCloseEvent += WindowAfterCloseEvent;
|
| | | if (WHYJBool())
|
| | | {
|
| | | m_Container_WHYJ.SetActive(true);
|
| | |
| | | DropItemManager.pickUpCallBack -= OnPickItem;
|
| | | MainInterfaceWin.Event_Duplicates -= OnChangeFuncBtnPosEvent;
|
| | | model.dungeonCoolDownEvent -= OnLeaveMapTimeEvent;
|
| | | WindowCenter.Instance.windowAfterCloseEvent -= WindowAfterCloseEvent;
|
| | | }
|
| | |
|
| | | protected override void OnAfterClose()
|
| | |
| | | }
|
| | | #endregion
|
| | |
|
| | | private void WindowAfterCloseEvent(Window window)
|
| | | {
|
| | | if (window is TreasureBaseWin)
|
| | | {
|
| | | if (m_Tweener != null)
|
| | | {
|
| | | m_Tweener.Kill(false);
|
| | | m_Tweener = null;
|
| | | }
|
| | | m_ContainerFuncBtn.localPosition = MainInterfaceWin.recordPositionBool ?
|
| | | m_ContainerFuncBottom.localPosition : m_ContainerFuncUp.localPosition;
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnLeaveMapTimeEvent(DungeonCoolDownType _type)
|
| | | {
|
| | |
| | | if (m_InspireProgress != null)
|
| | | {
|
| | | m_InspireProgress.gameObject.SetActive(PlayerDatas.Instance.baseData.MapID == DemonJarModel.DEMONJAR_MAPID);
|
| | | m_InspireProgress.text = StringUtility.Contact(level * 10, "%");
|
| | | m_InspireProgress.text = StringUtility.Contact(level * model.GetDungeonInspireUpper(mapId), "%");
|
| | | }
|
| | | if (!m_Waggle)
|
| | | {
|
| | |
| | | [SerializeField] Text m_InspireLevel;
|
| | | [SerializeField] Text m_Remind;
|
| | | [SerializeField] Text m_DemonJarDoubleRemind;
|
| | | [SerializeField] Text m_InspireHurt;
|
| | | [SerializeField] Button m_Confirm;
|
| | | [SerializeField] Button m_Cancel;
|
| | | [SerializeField] Button m_Close;
|
| | |
| | |
|
| | | protected override void OnPreOpen()
|
| | | {
|
| | | var _list = model.GetDungeonInspire(PlayerDatas.Instance.baseData.MapID);
|
| | | var mapId = PlayerDatas.Instance.baseData.MapID;
|
| | | var _list = model.GetDungeonInspire(mapId);
|
| | | if (_list == null)
|
| | | {
|
| | | return;
|
| | |
| | | UpdateInspireType();
|
| | | DisplayRemind();
|
| | |
|
| | | var singleHurt = model.GetDungeonInspireUpper(mapId);
|
| | | m_InspireHurt.text = Language.Get("InspireRemind", singleHurt, model.GetInspireMaxCount(mapId) * singleHurt);
|
| | |
|
| | | model.dungeonInspireLvEvent += DungeonEncourageEvent;
|
| | | }
|
| | |
|
| | |
| | | else
|
| | | {
|
| | | m_WhyjEnterRule.gameObject.SetActive(false);
|
| | | |
| | | WhyjEnterFloor.gameObject.SetActive(false);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | return cnt;
|
| | | }
|
| | |
|
| | | public List<int> GetAddAttrIdByStars(out int starsCount)
|
| | | public List<int> GetAddAttrIdByStars(int _curStarsCount, out int starsCount)
|
| | | {
|
| | | starsCount = 0;
|
| | | List<int> activeIdlist = new List<int>();
|
| | | List<int> addIdlist = new List<int>();
|
| | | List<int> starslist = RoleEquipStarsConfig.GetEquipStarsCntlist();
|
| | | if (starslist == null || starslist.Count < 1) return addIdlist;
|
| | | int activeStars = GetActiveCntByType(1);
|
| | | RoleEquipStarsConfig activeStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(activeStars);
|
| | | int realActiveStars = _curStarsCount > activeStars ? activeStars : _curStarsCount;
|
| | | for (int i = starslist.Count - 1; i > -1; i--)
|
| | | {
|
| | | if (i == 0 && starslist[i] > realActiveStars)
|
| | | {
|
| | | realActiveStars = 0;
|
| | | break;
|
| | | }
|
| | | if (starslist[i] <= realActiveStars)
|
| | | {
|
| | | realActiveStars = starslist[i];
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | RoleEquipStarsConfig activeStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(realActiveStars);
|
| | | if(activeStarsConfig != null)
|
| | | {
|
| | | for(int i = 0; i < activeStarsConfig.attType.Length; i++)
|
| | |
| | | {
|
| | | bool isAddId = false;
|
| | | RoleEquipStarsConfig starsConfig = starsConfigs[i];
|
| | | if (activeStars < starsConfig.countNeed)
|
| | | if (realActiveStars < starsConfig.countNeed)
|
| | | {
|
| | | for(int j = 0; j < starsConfig.attType.Length; j++)
|
| | | {
|
| | |
| | | }
|
| | |
|
| | | curSumStarText.text = Language.Get("KnapS124").Replace("{0}", _curStarsCount.ToString());
|
| | | int activeCnt = GetActiveStarsAttr();
|
| | | int realActiveStars = GetActiveStarsAttr();
|
| | | int serverActiveCnt = playerPack.GetActiveCntByType(1);
|
| | | StringBuilder attrStr = new StringBuilder();
|
| | | if (activeStarsConfig != null)
|
| | | {
|
| | |
| | |
|
| | | }
|
| | | nextAttrText.text = attrStr.ToString();
|
| | | nextEffectText.text = Language.Get("BagWin_NextText_1",Language.Get("KnapS144"));
|
| | | if (_curStarsCount >= nextActiveStarsConfig.countNeed)
|
| | | if(nextActiveStarsConfig.countNeed <= serverActiveCnt)
|
| | | {
|
| | | nextActiveCnt = nextActiveStarsConfig.countNeed;
|
| | | RefreshActiveBtnUI(true);
|
| | | RefreshActiveBtnUI(false);
|
| | | nextEffectText.text = Language.Get("BagWin_NextText_1", Language.Get("KnapS143"));
|
| | | }
|
| | | else
|
| | | {
|
| | | RefreshActiveBtnUI(false);
|
| | | nextEffectText.text = Language.Get("BagWin_NextText_1", Language.Get("KnapS144"));
|
| | | if (_curStarsCount >= nextActiveStarsConfig.countNeed)
|
| | | {
|
| | | nextActiveCnt = nextActiveStarsConfig.countNeed;
|
| | | RefreshActiveBtnUI(true);
|
| | | }
|
| | | else
|
| | | {
|
| | | RefreshActiveBtnUI(false);
|
| | | }
|
| | | }
|
| | | }
|
| | | else
|
| | |
| | | }
|
| | |
|
| | | int addAttrStarsNum = 0;
|
| | | List<int> addIdlist = playerPack.GetAddAttrIdByStars(out addAttrStarsNum);
|
| | | List<int> addIdlist = playerPack.GetAddAttrIdByStars(_curStarsCount,out addAttrStarsNum);
|
| | | if(addIdlist.Count > 0)
|
| | | {
|
| | | addAttrText.gameObject.SetActive(true);
|
| | |
| | | {
|
| | | activeStarsConfig = null;
|
| | | nextActiveStarsConfig = null;
|
| | | int activeCnt = playerPack.GetActiveCntByType(1);
|
| | | int serverActiveCnt = playerPack.GetActiveCntByType(1);
|
| | | List<int> starslist = RoleEquipStarsConfig.GetEquipStarsCntlist();
|
| | | if (starslist == null || starslist.Count < 1) return activeCnt;
|
| | | if (starslist == null || starslist.Count < 1) return serverActiveCnt;
|
| | |
|
| | | if (_curStarsCount < starslist[0])
|
| | | int realActiveStars = _curStarsCount > serverActiveCnt ? serverActiveCnt : _curStarsCount;
|
| | | for (int i = starslist.Count - 1; i > -1 ; i--)
|
| | | {
|
| | | if (i == 0 && starslist[i] > realActiveStars)
|
| | | {
|
| | | realActiveStars = 0;
|
| | | break;
|
| | | }
|
| | | if (starslist[i] <= realActiveStars)
|
| | | {
|
| | | realActiveStars = starslist[i];
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | if (realActiveStars < starslist[0])
|
| | | {
|
| | | activeStarsConfig = null;
|
| | | nextActiveStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(starslist[0]);
|
| | |
| | | int nextActiveStars = 0;
|
| | | for (int i = 0; i < starslist.Count; i++)
|
| | | {
|
| | | if(starslist[i] > activeCnt)
|
| | | if(starslist[i] > realActiveStars)
|
| | | {
|
| | | nextActiveStars = starslist[i];
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | activeStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(activeCnt);
|
| | | activeStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(realActiveStars);
|
| | | if (nextActiveStars != 0)
|
| | | {
|
| | | nextActiveStarsConfig = RoleEquipStarsConfig.GetEquipStarsModel(nextActiveStars);
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | return activeCnt;
|
| | | return realActiveStars;
|
| | | }
|
| | |
|
| | | //判断属性是否百分比显示
|
| | |
| | | PlayerPropertyConfig propertyConfig = Config.Instance.Get<PlayerPropertyConfig>(id);
|
| | | string des = string.Format(treasureConfig.Verse[0], GetProValueTypeStr(propertyConfig, attrDict[id]), propertyConfig.Name);
|
| | | effectDesSB.Append(des);
|
| | | if (signInModel.SumSignNum > 0)
|
| | | if (signInModel.totalSignInCount > 0)
|
| | | {
|
| | | des = string.Format(treasureConfig.Verse[1], signInModel.SumSignNum);
|
| | | des = string.Format(treasureConfig.Verse[1], signInModel.totalSignInCount);
|
| | | effectDesSB.Append(StringUtility.Contact("\n", des));
|
| | | int addAtk = signInModel.SumSignNum * attrDict[id];
|
| | | int addAtk = signInModel.totalSignInCount * attrDict[id];
|
| | | if (isHaveTreasure)
|
| | | {
|
| | | des = string.Format(treasureConfig.Verse[2], Language.Get("TreasureEffect105", GetProValueTypeStr(propertyConfig, addAtk)));
|
| | |
| | | _ExpSlider.stage = NowLv;
|
| | | _ExpSlider.value = (float)ExpValueFloat;
|
| | | }
|
| | | _ExpRate.text = (float)Math.Round((double)nowVlaue / maxValue, 2, MidpointRounding.AwayFromZero) * 100 + "%";
|
| | | if ((float)Math.Round((double)nowVlaue / maxValue, 2, MidpointRounding.AwayFromZero) >= 1f)
|
| | | {
|
| | | _ExpRate.text = "99.9%";
|
| | | }
|
| | | else
|
| | | {
|
| | | _ExpRate.text = (float)Math.Round((double)nowVlaue / maxValue, 2, MidpointRounding.AwayFromZero) * 100 + "%";
|
| | | } |
| | | }
|
| | | }
|
| | |
|
| | |
| | | break;
|
| | | case PlayerDataRefresh.LV:
|
| | | AddoperationStartEvent();
|
| | | WorldLVBuff();
|
| | | break;
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | return;
|
| | | }
|
| | | if (getWorldLV != 0 && worldExpRate>0)
|
| | | if (getWorldLV != 0 && worldExpRate>0)//删除世界等级
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV >= getWorldLV)
|
| | | {
|
| | | if (_BuffDic.ContainsKey(20047))
|
| | | {
|
| | | _BuffDic.Remove(20047);
|
| | | if (Even_ObjDelBuff != null)
|
| | | {
|
| | | Even_ObjDelBuff();
|
| | | } |
| | | }
|
| | | return;
|
| | | }
|
| | | var skillconfig = Config.Instance.Get<SkillConfig>(20047);
|
| | | if (_BuffDic.ContainsKey(20047))
|
| | | {
|
| | |
| | | _BuffDic.Add(20047, _ObjBuff);
|
| | | }
|
| | | if (Even_ObjAddBuf != null)
|
| | | {
|
| | | Even_ObjAddBuf();
|
| | | }
|
| | | |
| | | }
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | for (int i = 0; i < _list.Count; i++)
|
| | | {
|
| | | if (taskmodel.GetTaskStatus(_list[i]) == PlayerTaskDatas.TaskStatus.Normal)
|
| | | if (taskmodel.GetTaskStatus(_list[i]) != PlayerTaskDatas.TaskStatus.CardLevel)
|
| | | {
|
| | | taskmodel.GetNowTaskID = _list[i];
|
| | | return;
|
| | |
| | |
|
| | | public void Receive(int ancientType)
|
| | | {
|
| | | if (battleHints.Contains(ancientType))
|
| | | if (battleHints.Contains(ancientType)
|
| | | || WindowCenter.Instance.IsOpen<TreasureBaseWin>()
|
| | | || WindowCenter.Instance.IsOpen<TreasureSelectWin>())
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | | {
|
| | | if (PlayerDatas.Instance.baseData.MapID != 31160
|
| | | || !(StageManager.Instance.CurrentStage is DungeonStage)
|
| | | || StageManager.Instance.isLoading)
|
| | | || StageManager.Instance.isLoading
|
| | | || WindowCenter.Instance.IsOpen<TreasureBaseWin>()
|
| | | || WindowCenter.Instance.IsOpen<TreasureSelectWin>())
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | | DisplayEvenKill();
|
| | | BattleHint.Instance.battleHintUpdate += BattleHintUpdate;
|
| | | BattleHint.Instance.evenKillUpdate += EvenKillUpdate;
|
| | | WindowCenter.Instance.windowBeforeOpenEvent += WindowBeforeOpenEvent;
|
| | | }
|
| | |
|
| | | protected override void OnAfterOpen()
|
| | |
| | |
|
| | | protected override void OnPreClose()
|
| | | {
|
| | | StopAllCoroutines();
|
| | | BattleHint.Instance.Clear();
|
| | | BattleHint.Instance.battleHintUpdate -= BattleHintUpdate;
|
| | | BattleHint.Instance.evenKillUpdate -= EvenKillUpdate;
|
| | | WindowCenter.Instance.windowBeforeOpenEvent -= WindowBeforeOpenEvent;
|
| | | }
|
| | |
|
| | | protected override void OnAfterClose()
|
| | |
| | | }
|
| | | #endregion
|
| | |
|
| | | private void WindowBeforeOpenEvent(Window window)
|
| | | {
|
| | | if (window is TreasureBaseWin || window is TreasureSelectWin)
|
| | | {
|
| | | CloseImmediately();
|
| | | }
|
| | | }
|
| | |
|
| | | private void BattleHintUpdate()
|
| | | {
|
| | | if (!isBattleHint)
|
| | |
| | | var config = Config.Instance.Get<TreasureDungeonConfig>(dungeonInfo.key);
|
| | | m_BossName.text = config.bossName;
|
| | | m_Icon.SetSprite(config.icon);
|
| | | m_Icon.SetNativeSize();
|
| | | }
|
| | |
|
| | | if (active)
|
| | |
| | | DisplaySkill();
|
| | | DisplayProperty();
|
| | | DisplayChallenge();
|
| | | DisplayDungeons();
|
| | |
|
| | | UpdateAnimationStep();
|
| | | }
|
| | |
| | | var _propertyCfg = Config.Instance.Get<PlayerPropertyConfig>(_property.Key);
|
| | | m_SignPropertyEffect.text = Language.Get("FairyTreasure_5",
|
| | | _property.Value, _propertyCfg.Name);
|
| | | m_SignInTotalDays.text = Language.Get("FairyTreasure_6", signInModel.SumSignNum);
|
| | | m_SignInTotalDays.text = Language.Get("FairyTreasure_6", signInModel.totalSignInCount);
|
| | | if (treasure.state != TreasureState.Collected)
|
| | | {
|
| | | m_ProerptyValue.text = Language.Get("FairyTreasure_7",
|
| | | _propertyCfg.Name, signInModel.SumSignNum * _property.Value);
|
| | | _propertyCfg.Name, signInModel.totalSignInCount * _property.Value);
|
| | | m_SignInTip.text = Language.Get("SignInTreasureTip1");
|
| | | }
|
| | | else
|
| | | {
|
| | | m_ProerptyValue.text = Language.Get("FairyTreasure_8",
|
| | | _propertyCfg.Name, signInModel.SumSignNum * _property.Value);
|
| | | _propertyCfg.Name, signInModel.totalSignInCount * _property.Value);
|
| | | m_SignInTip.text = Language.Get("SignInTreasureTip2");
|
| | | }
|
| | | }
|
| | |
| | |
|
| | | private void OnEnable()
|
| | | {
|
| | | model.treasureStateChangeEvent += treasureStateChangeEvent;
|
| | | model.treasureStateChangeEvent += TreasureStateChangeEvent;
|
| | | }
|
| | |
|
| | | private void treasureStateChangeEvent(int _id)
|
| | | private void TreasureStateChangeEvent(int _id)
|
| | | {
|
| | | if (_id == m_Treasure.id)
|
| | | {
|
| | | m_Limit.gameObject.SetActive(m_Treasure.state != TreasureState.Collected);
|
| | | Display(_id);
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnDisable()
|
| | | {
|
| | | model.treasureStateChangeEvent -= treasureStateChangeEvent;
|
| | | model.treasureStateChangeEvent -= TreasureStateChangeEvent;
|
| | | }
|
| | |
|
| | | public void Display(int _id)
|
| | |
| | | m_TargetPotentialTitle.text = Language.Get("TargetPotentialLevelEffect", targetLevel);
|
| | | var targetConfig = Config.Instance.Get<SkillConfig>(potential.id + targetLevel - 1);
|
| | | m_TargetPotential.text = targetConfig.Description;
|
| | | m_TargetProperty.Display(6, targetConfig.MP);
|
| | | m_TargetProperty.DisplayUpper(6, targetConfig.MP);
|
| | | }
|
| | |
|
| | | DisplayAddBookRedpoint();
|
| | |
| | | public override void Refresh(CellView cell)
|
| | | {
|
| | | var _page = cell.index;
|
| | | var configs = Config.Instance.GetAllValues<SignInConfig>();
|
| | | for (int i = 0; i < 5; i++)
|
| | | {
|
| | | var _index = _page * 5 + i;
|
| | | if (_index >= model.signAwardList.Count)
|
| | | if (_index >= configs.Count)
|
| | | {
|
| | | m_SignIns[i].gameObject.SetActive(false);
|
| | | continue;
|
| | | }
|
| | | var _signInCfg = model.signAwardList[_index];
|
| | | var _ring = model.isFirst ? 0 : (_signInCfg.ItemID.Length > 1 ? 1 : 0);
|
| | | var _signInCfg = configs[_index];
|
| | | var _ring = model.IsFirstMonth ? 0 : (_signInCfg.ItemID.Length > 1 ? 1 : 0);
|
| | | var _itemCfg = Config.Instance.Get<ItemConfig>(_signInCfg.ItemID[_ring]);
|
| | | m_ItemIcons[i].SetSprite(_itemCfg.IconKey);
|
| | | m_ItemBgs[i].SetItemBackGround(_itemCfg.ItemColor);
|
| | |
| | | m_ItemCntTxts[i].text = _signInCfg.OrdinaryNum[_ring] <= 1 ? string.Empty : _signInCfg.OrdinaryNum[_ring].ToString();
|
| | | m_DayTxts[i].text = Language.Get("SignIn_4", _index + 1);
|
| | | m_BindImgs[i].gameObject.SetActive(_signInCfg.IsBind == 1);
|
| | | m_HasSignImgs[i].gameObject.SetActive(_index < model.signNum);
|
| | | m_RetroactiveImgs[i].gameObject.SetActive(_index == model.signNum && model.todaySign
|
| | | && model.surSignNum > 0);
|
| | | m_PresentEffects[i].gameObject.SetActive(_index == model.signNum && !model.todaySign);
|
| | | if (AchievementGoto.achievementType == AchievementGoto.SignInAchievement && _page == model.signNum / 5
|
| | | && _index == model.signNum && model.surSignNum > 0 && model.todaySign)
|
| | | m_HasSignImgs[i].gameObject.SetActive(_index < model.alreadySignInCount);
|
| | | m_RetroactiveImgs[i].gameObject.SetActive(_index == model.alreadySignInCount && model.todaySignIn
|
| | | && model.keepSignInCount > 0);
|
| | | m_PresentEffects[i].gameObject.SetActive(_index == model.alreadySignInCount && !model.todaySignIn);
|
| | | if (AchievementGoto.achievementType == AchievementGoto.SignInAchievement && _page == model.alreadySignInCount / 5
|
| | | && _index == model.alreadySignInCount && model.keepSignInCount > 0 && model.todaySignIn)
|
| | | {
|
| | | if (_achieveEffects[i] == null)
|
| | | {
|
| | |
| | |
|
| | | private void OnClickSign(int _day)
|
| | | {
|
| | | if (_day == model.signNum)
|
| | | if (_day == model.alreadySignInCount)
|
| | | {
|
| | | AchievementGoto.achievementType = 0;
|
| | | if (!model.todaySign)
|
| | | if (!model.todaySignIn)
|
| | | {
|
| | | CA509_tagCMDaySign signpack = new CA509_tagCMDaySign();
|
| | | signpack.Day = 0;
|
| | | GameNetSystem.Instance.SendInfo(signpack);
|
| | | return;
|
| | | }
|
| | | else if (model.surSignNum > 0)
|
| | | else if (model.keepSignInCount > 0)
|
| | | {
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("SinInReplenish", model.ctnSignJade), (bool isOk) =>
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("SinInReplenish", model.keepSignInCost), (bool isOk) =>
|
| | | {
|
| | | if (isOk)
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.Gold >= model.ctnSignJade)
|
| | | if (PlayerDatas.Instance.baseData.Gold >= model.keepSignInCost)
|
| | | {
|
| | | CA509_tagCMDaySign signpack = new CA509_tagCMDaySign();
|
| | | signpack.Day = 1;
|
| | |
| | | return;
|
| | | }
|
| | | }
|
| | | var _signInCfg = model.signAwardList[_day];
|
| | | var configs = Config.Instance.GetAllValues<SignInConfig>();
|
| | | var _signInCfg = configs[_day];
|
| | | int itemId = 0;
|
| | | int itemCount = 0;
|
| | | if (!model.isFirst)
|
| | | if (!model.IsFirstMonth)
|
| | | {
|
| | | itemId = _signInCfg.ItemID.Length > 1 ? _signInCfg.ItemID[1] : _signInCfg.ItemID[0];
|
| | | itemCount = _signInCfg.OrdinaryNum.Length > 1 ? _signInCfg.OrdinaryNum[1] : _signInCfg.OrdinaryNum[0];
|
| | |
| | |
|
| | | public override void Refresh(CellView cell)
|
| | | {
|
| | | var _signCfg = model.cntSignList[cell.index];
|
| | | var _ring = model.isFirst ? 0 : (_signCfg.ItemID.Length > 1 ? 1 : 0);
|
| | | var configs = Config.Instance.GetAllValues<ContinueSignInConfig>();
|
| | | var _signCfg = configs[cell.index];
|
| | | var _ring = model.IsFirstMonth ? 0 : (_signCfg.ItemID.Length > 1 ? 1 : 0);
|
| | | var _itemId = _signCfg.ItemID[_ring];
|
| | | if (model.m_ContinueJobItems.ContainsKey(_signCfg.ContineDay))
|
| | | if (model.m_KeepSignInItemDict.ContainsKey(_signCfg.ContineDay))
|
| | | {
|
| | | var _list = model.m_ContinueJobItems[_signCfg.ContineDay];
|
| | | var _list = model.m_KeepSignInItemDict[_signCfg.ContineDay];
|
| | | if (_list.Contains(_itemId))
|
| | | {
|
| | | try
|
| | |
| | | m_ItemCntTxt.text = _signCfg.ItemNum[_ring] <= 1 ? string.Empty : _signCfg.ItemNum[_ring].ToString();
|
| | | m_DayTxt.text = Language.Get("SignIn_5", _signCfg.ContineDay);
|
| | | m_ItemNameTxt.text = _itemCfg.ItemName;
|
| | | m_GetItemImg.gameObject.SetActive(_signCfg.ContineDay <= model.signNum);
|
| | | m_GetItemImg.gameObject.SetActive(_signCfg.ContineDay <= model.alreadySignInCount);
|
| | | m_GiftBtn.onClick.RemoveAllListeners();
|
| | | int _index = cell.index;
|
| | | m_GiftBtn.onClick.AddListener(() =>
|
| | |
| | |
|
| | | private void OnClickCtnSign(int _index)
|
| | | {
|
| | | var _signCfg = model.cntSignList[_index];
|
| | | var configs = Config.Instance.GetAllValues<ContinueSignInConfig>();
|
| | | var _signCfg = configs[_index];
|
| | | int itemId = 0;
|
| | | int itemCount = 0;
|
| | | if (!model.isFirst)
|
| | | if (!model.IsFirstMonth)
|
| | | {
|
| | | itemId = _signCfg.ItemID.Length > 1 ? _signCfg.ItemID[1] : _signCfg.ItemID[0];
|
| | | itemCount = _signCfg.ItemNum.Length > 1 ? _signCfg.ItemNum[1] : _signCfg.ItemNum[0];
|
| | |
| | | itemId = _signCfg.ItemID[0];
|
| | | itemCount = _signCfg.ItemNum[0];
|
| | | }
|
| | | if (model.m_ContinueJobItems.ContainsKey(_signCfg.ContineDay))
|
| | | if (model.m_KeepSignInItemDict.ContainsKey(_signCfg.ContineDay))
|
| | | {
|
| | | var _list = model.m_ContinueJobItems[_signCfg.ContineDay];
|
| | | var _list = model.m_KeepSignInItemDict[_signCfg.ContineDay];
|
| | | if (_list.Contains(itemId))
|
| | | {
|
| | | try
|
| | |
| | | [XLua.LuaCallCSharp]
|
| | | public class SignInModel : Model, IBeforePlayerDataInitialize
|
| | | {
|
| | | private void OnFuncStateChangeEvent(int func)
|
| | | public int keepSignInCost
|
| | | {
|
| | | if (func == (int)FuncOpenEnum.SignIn)
|
| | | {
|
| | | UpdateRedPoint();
|
| | | }
|
| | | }
|
| | | #region 配置
|
| | | private List<SignInConfig> m_signAwardList = null;
|
| | | public List<SignInConfig> signAwardList
|
| | | {
|
| | | get
|
| | | {
|
| | | if (m_signAwardList == null)
|
| | | {
|
| | | m_signAwardList = Config.Instance.GetAllValues<SignInConfig>();
|
| | | }
|
| | | return m_signAwardList;
|
| | | }
|
| | | get; private set;
|
| | | }
|
| | |
|
| | | private List<ContinueSignInConfig> m_ctnSignList = null;
|
| | | public List<ContinueSignInConfig> cntSignList
|
| | | public int alreadySignInCount
|
| | | {
|
| | | get
|
| | | {
|
| | | if (m_ctnSignList == null)
|
| | | {
|
| | | m_ctnSignList = Config.Instance.GetAllValues<ContinueSignInConfig>();
|
| | | }
|
| | | return m_ctnSignList;
|
| | | }
|
| | | }
|
| | | /// <summary>
|
| | | /// 补签所需仙玉
|
| | | /// </summary>
|
| | | private int m_ctnSignJade = -1;
|
| | | public int ctnSignJade
|
| | | {
|
| | | get
|
| | | {
|
| | | if (m_ctnSignJade == -1)
|
| | | {
|
| | | FuncConfigConfig cfg = Config.Instance.Get<FuncConfigConfig>("SignConsumption");
|
| | | if (cfg != null)
|
| | | {
|
| | | m_ctnSignJade = int.Parse(cfg.Numerical1);
|
| | | }
|
| | | }
|
| | | return m_ctnSignJade;
|
| | | }
|
| | | }
|
| | | #endregion
|
| | | private int m_SignNum = 0;
|
| | | public int signNum
|
| | | {
|
| | | get
|
| | | {
|
| | | return m_SignNum;
|
| | | }
|
| | | }
|
| | | private int m_surSignNum = 0;
|
| | | public int surSignNum
|
| | | {
|
| | | get { return m_surSignNum; }
|
| | | }
|
| | | private bool m_todaySign = false;
|
| | | public bool todaySign
|
| | | {
|
| | | get { return m_todaySign; }
|
| | | }
|
| | | private bool m_isFirst = true;
|
| | | public bool isFirst
|
| | | {
|
| | | get { return m_isFirst; }
|
| | | get; private set;
|
| | | }
|
| | |
|
| | | public int SumSignNum { get; private set; }
|
| | | public int keepSignInCount
|
| | | {
|
| | | get; private set;
|
| | | }
|
| | |
|
| | | public bool todaySignIn
|
| | | {
|
| | | get;private set;
|
| | | }
|
| | |
|
| | | public bool IsFirstMonth
|
| | | {
|
| | | get; private set;
|
| | | }
|
| | |
|
| | | public int totalSignInCount { get; private set; }
|
| | |
|
| | | public event Action OnSignRefresh;
|
| | |
|
| | |
| | |
|
| | | public void OnRefreshData(HA30D_tagMCDaySignInfo vNetData)
|
| | | {
|
| | | m_SignNum = vNetData.DaySignCount;
|
| | | m_surSignNum = vNetData.ReplenishSignCount;
|
| | | SumSignNum = vNetData.TotalSignCount;
|
| | | m_todaySign = vNetData.IsSign == 1;
|
| | | m_isFirst = vNetData.IsFrist == 1;
|
| | | if (OnSignRefresh != null) OnSignRefresh();
|
| | | UpdateRedPoint();
|
| | | }
|
| | |
|
| | | private void UpdateRedPoint()
|
| | | {
|
| | | if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.SignIn))
|
| | | alreadySignInCount = vNetData.DaySignCount;
|
| | | keepSignInCount = vNetData.ReplenishSignCount;
|
| | | totalSignInCount = vNetData.TotalSignCount;
|
| | | todaySignIn = vNetData.IsSign == 1;
|
| | | IsFirstMonth = vNetData.IsFrist == 1;
|
| | | if (OnSignRefresh != null)
|
| | | {
|
| | | redpoint.state = RedPointState.None;
|
| | | return;
|
| | | OnSignRefresh();
|
| | | }
|
| | | redpoint.state = todaySign ? RedPointState.None : RedPointState.GetReward;
|
| | | UpdateRedPoint();
|
| | | }
|
| | |
|
| | | public override void Init()
|
| | |
| | |
|
| | | public override void UnInit()
|
| | | {
|
| | | FuncOpen.Instance.OnFuncStateChangeEvent -= OnFuncStateChangeEvent;
|
| | | }
|
| | |
|
| | | public Dictionary<int, List<int>> m_KeepSignInItemDict = new Dictionary<int, List<int>>();
|
| | | void ParseConfig()
|
| | | {
|
| | | var configs = Config.Instance.GetAllValues<ContinueSignInConfig>();
|
| | | for (int i = 0; i < configs.Count; i++)
|
| | | {
|
| | | var config = configs[i];
|
| | | if (config.JobItemList.Length != 0)
|
| | | {
|
| | | m_KeepSignInItemDict.Add(config.ContineDay, new List<int>(config.JobItemList));
|
| | | }
|
| | | }
|
| | |
|
| | | {
|
| | | var config = Config.Instance.Get<FuncConfigConfig>("SignConsumption");
|
| | | keepSignInCost = int.Parse(config.Numerical1);
|
| | | }
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | | m_SignNum = 0;
|
| | | m_surSignNum = 0;
|
| | | m_todaySign = false;
|
| | | m_isFirst = true;
|
| | | SumSignNum = 0;
|
| | | alreadySignInCount = 0;
|
| | | keepSignInCount = 0;
|
| | | todaySignIn = false;
|
| | | IsFirstMonth = true;
|
| | | totalSignInCount = 0;
|
| | | }
|
| | |
|
| | |
|
| | | public Dictionary<int, List<int>> m_ContinueJobItems = new Dictionary<int, List<int>>();
|
| | | void ParseConfig()
|
| | | private void UpdateRedPoint()
|
| | | {
|
| | | var _cfgs = Config.Instance.GetAllValues<ContinueSignInConfig>();
|
| | | for (int i = 0; i < _cfgs.Count; i++)
|
| | | if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.SignIn))
|
| | | {
|
| | | var _cfg = _cfgs[i];
|
| | | if (_cfg.JobItemList.Length != 0)
|
| | | {
|
| | | m_ContinueJobItems.Add(_cfg.ContineDay, new List<int>(_cfg.JobItemList));
|
| | | }
|
| | | redpoint.state = RedPointState.None;
|
| | | return;
|
| | | }
|
| | | redpoint.state = todaySignIn ? RedPointState.None : RedPointState.GetReward;
|
| | | }
|
| | |
|
| | | private void OnFuncStateChangeEvent(int func)
|
| | | {
|
| | | if (func == (int)FuncOpenEnum.SignIn)
|
| | | {
|
| | | UpdateRedPoint();
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | if (AchievementGoto.achievementType == AchievementGoto.SignInAchievement) |
| | | { |
| | | var _cfg = Config.Instance.Get<SuccessConfig>(AchievementGoto.SignInAchievement); |
| | | if (!model.todaySign || model.surSignNum > 0) |
| | | if (!model.todaySignIn || model.keepSignInCount > 0) |
| | | { |
| | | var _num = Mathf.Max(0, model.signNum); |
| | | var _num = Mathf.Max(0, model.alreadySignInCount); |
| | | var _line = _num / 5; |
| | | signInCtrl.JumpIndex(_line); |
| | | } |
| | |
| | | |
| | | private void InitSignIn() |
| | | { |
| | | var configs = Config.Instance.GetAllValues<SignInConfig>(); |
| | | if (signInCtrl.GetNumberOfCells(signInCtrl.m_Scorller) == 0) |
| | | { |
| | | signInCtrl.Refresh(); |
| | | int page = Mathf.CeilToInt((float)model.signAwardList.Count / 5); |
| | | int page = Mathf.CeilToInt((float)configs.Count / 5); |
| | | for (int i = 0; i < page; i++) |
| | | { |
| | | signInCtrl.AddCell(ScrollerDataType.Header, i); |
| | |
| | | signInCtrl.m_Scorller.RefreshActiveCellViews(); |
| | | } |
| | | |
| | | signInfo.text = Language.Get("SignIn_3", model.signNum, model.surSignNum); |
| | | signInfo.text = Language.Get("SignIn_3", model.alreadySignInCount, model.keepSignInCount); |
| | | } |
| | | |
| | | private void InitCtnSign() |
| | | { |
| | | {
|
| | | var configs = Config.Instance.GetAllValues<ContinueSignInConfig>(); |
| | | if (ctnSignCtrl.GetNumberOfCells(ctnSignCtrl.m_Scorller) == 0) |
| | | { |
| | | ctnSignCtrl.Refresh(); |
| | | for (int i = 0; i < model.cntSignList.Count; i++) |
| | | for (int i = 0; i < configs.Count; i++) |
| | | { |
| | | ctnSignCtrl.AddCell(ScrollerDataType.Header, i); |
| | | } |
| | |
| | | |
| | | private void JumpToTodaySign()
|
| | | {
|
| | | var _num = Mathf.Max(0, model.signNum);
|
| | | var _num = Mathf.Max(0, model.alreadySignInCount);
|
| | | var _line = _num / 5;
|
| | | signInCtrl.JumpIndex(_line);
|
| | | } |