/*------------------------------------------------------------------------- * 内容のクリア * ---------------------------------------------------------------------------*/ public void Clear() { m_days = -1; m_pos_x = -1; m_pos_y = -1; m_angle = -1; m_interest = false; m_accident = gvo_map_cs_chat_base.accident.none; m_is_start_build_ship = false; m_build_ship_name = ""; m_is_finish_build_ship = false; }
/*------------------------------------------------------------------------- * キャプチャ情報の送信 * 全て * ---------------------------------------------------------------------------*/ public void SendCaptureAll(int days, int x, int y, float angle, bool interest, gvo_map_cs_chat_base.accident accident) { string[] datas; if (accident != gvo_map_cs_chat_base.accident.none) { datas = new string[] { days.ToString(), x.ToString(), y.ToString(), angle.ToString(), (interest)? "1": "0", gvo_map_cs_chat_base.ToAccidentString(accident) }; } else if (interest) { datas = new string[] { days.ToString(), x.ToString(), y.ToString(), angle.ToString(), "1" }; } else { datas = new string[] { days.ToString(), x.ToString(), y.ToString(), angle.ToString() }; } send_data(COMMAND_CAPALL, datas); }