| | |
| | | |
| | | public class InvestModel : GameSystemManager<InvestModel> |
| | | { |
| | | public ILOpenServerActivityProxy activity; |
| | | // public ILOpenServerActivityProxy activity; |
| | | |
| | | public const int FuncID = 119; |
| | | public const int FuncID = 25; |
| | | |
| | | |
| | | //投资对应奖励 |
| | |
| | | |
| | | |
| | | public event Action onSelectUpdate; |
| | | public event Action onInvestUpdate; |
| | | public event Action<int> onInvestUpdate; |
| | | |
| | | public const int redpointID = 20931; |
| | | public Redpoint redpoint = new Redpoint(MainRedDot.REDPOINT_OPENSERVER, redpointID); |
| | |
| | | { |
| | | if (id == FuncID) |
| | | { |
| | | activity.StateUpdate(id); |
| | | // activity.StateUpdate(id); |
| | | UpdateRedpoint(); |
| | | } |
| | | |
| | |
| | | |
| | | if (onInvestUpdate != null) |
| | | { |
| | | onInvestUpdate(); |
| | | onInvestUpdate(package.InvestType); |
| | | } |
| | | } |
| | | |