Exemplo n.º 1
0
    void OnNarrativeAdded()
    {
        NarrativeDataExtend temp     = AdvManager.Instance.fungusNarrativeLog.GetRawHistory();
        LineExtend          lastLine = temp.lines[temp.lines.Count - 1];

        theList.RowCount = temp.lines.Count;
    }
Exemplo n.º 2
0
    void PopulateItem(RecyclingListViewItem item, int rowIndex)
    {
        var        newContent = item as AdvLogContentLayout;
        LineExtend lastLine   = AdvManager.Instance.fungusNarrativeLog.GetRawHistory().lines[rowIndex];

        newContent.NameTerm     = lastLine.nameTerm;
        newContent.TextTerm     = lastLine.textTerm;
        newContent.AvatarSprite = lastLine.icon;
        newContent.AvatarVoice  = lastLine.voice;

        newContent.showIcon = lastLine.showIcon;

        newContent.UpdateUIContent();
    }