public bool excuteLeaveRoomEvent(RoomInterface ri, Character chara) { EventInterface eventI = ri.getEvent(constant.LEAVE_EVENT); //show ui string selectCode = showMessageUi(eventI.getEventBeginInfo(), eventI.getSelectItem()); EventResult result = eventI.excute(chara, selectCode); showMessageUi(eventI.getEventEndInfo(result.getResultCode()), null); return(result.getStatus()); }