void BackMachine_OnClick() { if (GameConnet.m_uiKeepMID != 0) { IceAgeManager.BuyInGame(GameConnet.m_uiKeepMID); } }
public void OnClick() { Debug.Log("OnClick : " + ID); if ((GameConnet.m_PMachinesData[NowMachineID].m_enumState == ENUM_PMACHINE_STATE.Idle || MachineStatus == MachineType.MyKeep) && IceAgeManager.m_MachineInfo.m_uiMID == NowMachineID) { IceAgeManager.BuyInGame(NowMachineID); //幫她BuyIn } else if (MachineStatus == MachineType.Idle) { MachineStatus = MachineType.OnChoose; GameConnet.m_oGameClient.Send(ENUM_GAME_FRAME.IceAge, (uint)ENUM_ICEAGE_PACKID_GC.C2G_Machine_GetMachineInfo, GameConnet.m_oGameClient.DoSerialize <uint>(NowMachineID)); } else { GameConnet.m_oGameClient.Send(ENUM_GAME_FRAME.IceAge, (uint)ENUM_ICEAGE_PACKID_GC.C2G_Machine_GetMachineInfo, GameConnet.m_oGameClient.DoSerialize <uint>(NowMachineID)); } }
void Back_OnClick() { IceAgeManager.ChangeMachinePage(2); }
void Next_OnClick() { IceAgeManager.ChangeMachinePage(1); }