Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates one statistic contribution.

API: scripting
Project: Inno.Editor.Core
Scope: Editor

public InnoEditor.Core.EditorStatistic.EditorStatistic(InnoEditor.Core.EditorStatisticId id, InnoEditor.Core.EditorStatisticGroupId groupId, string groupName, string label, string value, int groupOrder = 0, int order = 0)

Parameter id: Globally stable statistic identity used for replacement within a frame.

Parameter groupId: Stable visual group identity.

Parameter groupName: User-facing group heading.

Parameter label: User-facing metric label.

Parameter value: Already formatted user-facing value.

Parameter groupOrder: Ascending group presentation order.

Parameter order: Ascending metric order within the group.

Exception T:System.ArgumentException: Thrown when an identifier, group name, label, or value is empty.