Exemplo n.º 1
0
        public string getLogString()
        {
            string lg = "";

            lg += "\r\n";
            lg += "m_petID=" + m_petID + "\r\n";
            lg += "m_taskType=" + m_taskType.ToString() + "\r\n";
            lg += "m_itemID=" + m_itemID.ToString() + "\r\n";

            lg += m_question.getLogString();
            for (Int32 i = 0; i < m_answerList.Count; ++i)
            {
                CTalkAnswer item = m_answerList[i];
                lg += item.getLogString();
            }
            lg += "\r\n";
            return(lg);
        }
Exemplo n.º 2
0
        public string getLogString()
        {
            string lg = "";

            lg += "\r\n";
            lg += "PetID:" + PetID + " ";
            lg += "TPID:" + PetTPID + " ";
            lg += "lv" + PetFriendlyLevel + ",";
            lg += "亲密度:" + PetFriendlyValue + "/" + MaxPetFriendlyValue + ",";
            lg += "状态:" + PetStatus.ToString() + "\r\n";
            lg += "温泉类型:" + m_hotSpringType.ToString() + "\r\n";
            lg += "温泉任务类型:" + m_petTaskType.ToString() + " 温泉任务子类型:" + m_hotSpringTaskType.ToString() + "\r\n";
            lg += "温泉完成剩余时间:" + getLeftTime(m_leftTime) + "\r\n";
            lg += "伙伴属性:" + m_petBattleAttribute.getLogString() + "\r\n";
            lg += "成长属性:" + m_petGrowUpAttribute.getLogString() + "\r\n";
            lg += "m_combat:" + m_combat + "\r\n";
            return(lg);
        }