ScoreMessage CompareTo Method ScoreFlash API Documentation V4.6.0
Compare by age. This is used by ScoreFlash to make sure messages are always sorted correctly so that Dequeue() works as expected and spreading messages works as expected.

Namespace: NarayanaGames.ScoreFlashComponent
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public int CompareTo(
	Object otherScoreMessage
)

Parameters

otherScoreMessage
Type: OnlineSystem Object
another ScoreMessage to compare with

Return Value

this.Age.CompareTo(other.Age) ;-)

Implements

OnlineIComparable CompareTo(Object)
See Also