예제 #1
0
 // Token: 0x06005F02 RID: 24322 RVA: 0x001AE9AC File Offset: 0x001ACBAC
 private bool TryInitHotFix(string luaModuleName)
 {
     bool result;
     if (this.m_hotfixState != ObjectLuaHotFixState.Uninit)
     {
         result = (this.m_hotfixState == ObjectLuaHotFixState.InitAvialable);
     }
     else
     {
         bool flag = LuaManager.TryInitHotfixForObj(this, luaModuleName, typeof(BuyEnergyAck));
         this.m_hotfixState = ((!flag) ? ObjectLuaHotFixState.InitUnavialable : ObjectLuaHotFixState.InitAvialable);
         result = flag;
     }
     return result;
 }
예제 #2
0
        private static bool TryInitHotFix(string luaModuleName)
        {
            bool result;

            if (m_hotfixState != ObjectLuaHotFixState.Uninit)
            {
                result = (m_hotfixState == ObjectLuaHotFixState.InitAvialable);
            }
            else
            {
                result        = LuaManager.TryInitHotfixForType(typeof(HotFixTestScript), luaModuleName);
                m_hotfixState = (result ? ObjectLuaHotFixState.InitAvialable : ObjectLuaHotFixState.InitUnavialable);
            }
            return(result);
        }
예제 #3
0
 // Token: 0x06000463 RID: 1123 RVA: 0x00013A88 File Offset: 0x00011C88
 public int GetOutParam(out LuaHotFixExample classParam, LuaHotFixExample notOutClassParam, out LuaTestStruct valueTypeParam, LuaTestStruct notOutvalueTypeParam, out int intParam, int notOutIntParam, out float floatParam, float notOutfloatParam, out bool boolParam, bool notOutboolParam, out ObjectLuaHotFixState enumParam, ObjectLuaHotFixState notOutEnumParam)
 {
     if (BJLuaObjHelper.IsSkipLuaHotfix || !this.TryInitHotFix(null) || this.m_WithOutParamLuaHotFixExampleInt32LuaTestStruct_hotfix != null)
     {
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     Debug.Log("LuaHotFixExample CS Call WithOutParam");
     classParam           = null;
     valueTypeParam       = default(LuaTestStruct);
     valueTypeParam.m_str = "InCS";
     intParam             = 99;
     floatParam           = 0f;
     boolParam            = false;
     enumParam            = ObjectLuaHotFixState.Uninit;
     return(777);
 }
예제 #4
0
 // Token: 0x06000462 RID: 1122 RVA: 0x00013A14 File Offset: 0x00011C14
 public void WithOutParam(int notOutParam, out LuaHotFixExample classParam, out LuaTestStruct valueTypeParam, out int intParam, out float floatParam, out bool boolParam, out ObjectLuaHotFixState enumParam)
 {
     if (BJLuaObjHelper.IsSkipLuaHotfix || !this.TryInitHotFix(string.Empty) || this.m_WithOutParamLuaHotFixExampleInt32LuaTestStruct_hotfix != null)
     {
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     Debug.Log("LuaHotFixExample CS Call WithOutParam");
     classParam           = null;
     valueTypeParam       = default(LuaTestStruct);
     valueTypeParam.m_str = "InCS";
     intParam             = 99;
     floatParam           = 0f;
     boolParam            = false;
     enumParam            = ObjectLuaHotFixState.Uninit;
 }
예제 #5
0
 // Token: 0x0600046A RID: 1130 RVA: 0x00013D78 File Offset: 0x00011F78
 public void WithOutParam(int notOutParam, out LuaHotFixExample classParam, out LuaTestStruct valueTypeParam, out int intParam, out float floatParam, out bool boolParam, out ObjectLuaHotFixState enumParam)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_WithOutParamInt32LuaHotFixExample_LuaTestStruct_Int32_Single_Boolean_ObjectLuaHotFixState__hotfix != null)
     {
         LuaDelegation.Lua_BlackJack_BJFramework_Runtime_Lua_LuaHotFixChecker_WithOutParam_Int32_LuaHotFixExample_LuaTestStruct_Int32_Single_Boolean_ObjectLuaHotFixState(this, this.m_WithOutParamInt32LuaHotFixExample_LuaTestStruct_Int32_Single_Boolean_ObjectLuaHotFixState__hotfix, notOutParam, out classParam, out valueTypeParam, out intParam, out floatParam, out boolParam, out enumParam);
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     Debug.Log("LuaHotFixChecker CS Call WithOutParam");
     classParam           = null;
     valueTypeParam       = default(LuaTestStruct);
     valueTypeParam.m_str = "InCS";
     intParam             = 99;
     floatParam           = 0f;
     boolParam            = false;
     enumParam            = ObjectLuaHotFixState.Uninit;
 }