#include <ASoundManager.h>
Definition at line 133 of file ASoundManager.h.
◆ operator()()
TINT ASoundManager::SoundEventSortResults::operator() |
( |
const SoundEvent & | a_rcVal1, |
|
|
const SoundEvent & | a_rcVal2 ) const |
|
inline |
Definition at line 135 of file ASoundManager.h.
136 {
137 TFLOAT fStartTime1 = a_rcVal1.fStartTime;
138 TFLOAT fStartTime2 = a_rcVal2.fStartTime;
139
140 if ( fStartTime1 > fStartTime2 )
141 return 1;
142
143 if ( fStartTime1 >= fStartTime2 )
144 return 0;
145
146 return -1;
147 }
The documentation for this struct was generated from the following file: