Beispiel #1
0
    public void OnLoadHistoryData(JSONNode history)
    {
        historyDataList.Clear();

        var arr = history.AsArray;

        for (int i = 0; i < arr.Count; i++)
        {
            var node = arr[i];
            var m    = MessageBase.ParseFromJSONNode(node);
            if (m != null)
            {
                historyDataList.Add(m);
            }
        }
    }