public static void OnReceiveNewbitSyn(CSPkg msg) { Singleton <CUIManager> .GetInstance().CloseSendMsgAlert(); SCPKG_NTF_NEWIEBITSYN stNewieBitSyn = msg.stPkgData.stNewieBitSyn; CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo(); masterRoleInfo.SetGuidedStateSet((int)stNewieBitSyn.dwBitType, true); if (stNewieBitSyn.dwBitType == 22u || stNewieBitSyn.dwBitType == 23u || stNewieBitSyn.dwBitType == 24u || stNewieBitSyn.dwBitType == 25u) { CLobbySystem.RefreshDianQuanPayButton(true); Singleton <CPaySystem> .GetInstance().AutoOpenRewardPanel(true); } }
public static void OnReceiveNewbitSyn(CSPkg msg) { Singleton <CUIManager> .GetInstance().CloseSendMsgAlert(); SCPKG_NTF_NEWIEBITSYN stNewieBitSyn = msg.stPkgData.stNewieBitSyn; Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo().SetGuidedStateSet((int)stNewieBitSyn.dwBitType, true); if (((stNewieBitSyn.dwBitType == 0x16) || (stNewieBitSyn.dwBitType == 0x17)) || ((stNewieBitSyn.dwBitType == 0x18) || (stNewieBitSyn.dwBitType == 0x19))) { LobbyForm.RefreshDianQuanPayButton(true); Singleton <CPaySystem> .GetInstance().AutoOpenRewardPanel(true); } }