ACR_ChooserCreator.Waiter.DrawListBox C# (CSharp) Method

DrawListBox() public static method

public static DrawListBox ( CLRScriptBase script, List resource ) : void
script CLRScriptFramework.CLRScriptBase
resource List
return void
        public static void DrawListBox(CLRScriptBase script, List<IListBoxItem> resource)
        {
            // TODO: Remove the last frame of the 'thinking' animation.
            if(resource != null)
            {
                foreach (IListBoxItem item in resource)
                {
                    script.AddListBoxRow(script.OBJECT_SELF, "SCREEN_DMC_CREATOR", "LISTBOX_ACR_CREATOR", item.RowName, item.TextFields, item.Icon, item.Variables, "unhide");
                }
            }
        }
    }