void SendReqPowerUpMsg() { CG_REQ_POWERUP packet = (CG_REQ_POWERUP)PacketDistributed.CreatePacket(MessageID.PACKET_CG_REQ_POWERUP); packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_GEM; packet.Flag = 1; packet.SendPacket(); }
public void CombatNumClick() { //UIManager.ShowUI(UIInfo.CheckPowerRoot); CG_REQ_POWERUP packet = (CG_REQ_POWERUP)PacketDistributed.CreatePacket(MessageID.PACKET_CG_REQ_POWERUP); packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_GEM; packet.Flag = 1; packet.SendPacket(); }
//游戏帮助 public void OnHelpClick() { //UIManager.ShowUI(UIInfo.CheckPowerRoot); CG_REQ_POWERUP packet = (CG_REQ_POWERUP)PacketDistributed.CreatePacket(MessageID.PACKET_CG_REQ_POWERUP); packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_GEM; packet.Flag = 1; packet.SendPacket(); UIManager.CloseUI(UIInfo.SystemAndAutoFight); //string dicStr = "目前没有实现"; // MessageBoxLogic.OpenOKCancelBox(dicStr, "", OnAccountOK, OnMessageBoxNO); }
void OnTabChangedCall(TabButton button) { CG_REQ_POWERUP packet = (CG_REQ_POWERUP)PacketDistributed.CreatePacket(MessageID.PACKET_CG_REQ_POWERUP); packet.Flag = 0; if (button.name == "Tab1") { packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_EQUIP; packet.SendPacket(); } else if (button.name == "Tab2") { packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_BELLE; packet.SendPacket(); } else if (button.name == "Tab3") { packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_GEM; packet.SendPacket(); } else if (button.name == "Tab4") { packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_XIAKE; packet.SendPacket(); } else if (button.name == "Tab5") { packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_SKILL; packet.SendPacket(); } else if (button.name == "Tab6") { packet.Type = (int)BePowerData.BePowerType.BPTDEFINE_FELLOW; packet.SendPacket(); } }