Exemple #1
0
    void GameOver()
    {
        OnEnd();

        m_CurData = null;

        Destroy(LobbyUITfm.gameObject);

        m_IndexPlayers.Clear();
    }
Exemple #2
0
    public void OnClickWatch(AppointmentRecord record)
    {
        CustomAudio.GetInstance().PlayCustomAudio(1002);

        Init();

        m_CurData = record;

        UMessage msg = new UMessage((uint)GameCity.EMSG_ENUM.CCVideoMsg_ApplyGetRoundScore);

        msg.Add(record.videoes);
        HallMain.videotcpclient.SendMsg(msg);
    }
 public static AppointmentRecord UpdateAppointmentRecordFieldsFromDTO(AppointmentRecord appointmentRecord, AppointmentRecordDTO appointmentRecordDTO)
 {
     appointmentRecord.Symptom = appointmentRecordDTO.Symptom;
     appointmentRecord.Date    = appointmentRecordDTO.Date;
     return(appointmentRecord);
 }
 public static AppointmentRecordDTO MapToAppointmentRecordDTO(AppointmentRecord appointmentRecord)
 {
     return(new MapperConfiguration(cfg => cfg.CreateMap <AppointmentRecord, AppointmentRecordDTO>()).CreateMapper()
            .Map <AppointmentRecord, AppointmentRecordDTO>(appointmentRecord));
 }