| | |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSurplusSeconds", _m_GetSurplusSeconds_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTime", _m_GetTime_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFadeTime", _m_GetFadeTime_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPropertyMapPlayerData", _m_GetPropertyMapPlayerData_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPropertyValue", _m_GetPropertyValue_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "ReplaceNewLine", _m_ReplaceNewLine_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "ReplaceLargeNum", _m_ReplaceLargeNum_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "ReplaceXianYuanCoinsNum", _m_ReplaceXianYuanCoinsNum_xlua_st_); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetPropertyMapPlayerData_xlua_st_(RealStatePtr L) |
| | | static int _m_GetPropertyValue_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | |
| | | { |
| | | PropertyType _type;translator.Get(L, 1, out _type); |
| | | |
| | | float gen_ret = UIHelper.GetPropertyMapPlayerData( _type ); |
| | | LuaAPI.lua_pushnumber(L, gen_ret); |
| | | int gen_ret = UIHelper.GetPropertyValue( _type ); |
| | | LuaAPI.xlua_pushinteger(L, gen_ret); |
| | | |
| | | |
| | | |