Table of Contents

Method CompareTo

Namespace
LMKit.Agents.Skills
Assembly
LM-Kit.NET.dll

CompareTo(SkillMatch)

Compares this match to another based on score (descending order).

Higher scores are considered "less than" for sorting purposes, so the highest scores appear first when sorted.

public int CompareTo(SkillMatch other)

Parameters

other SkillMatch

The other match to compare to.

Returns

int

A negative value if this match has a higher score, a positive value if this match has a lower score, or zero if the scores are equal.