@@ -66,7 +66,7 @@ public bool TryInvoke(uint actionID, uint lastComboActionId, float comboTime, by
6666 return false ;
6767 }
6868 if ( this . affectedIDs . Count > 0 && ! this . affectedIDs . Contains ( actionID ) ) {
69- Service . TickLogger . Error ( $ "{ LogTag . Combo } { this . ModuleName } does not affect action # { actionID } - this replacer should not have been invoked!") ;
69+ Service . TickLogger . Error ( $ "{ LogTag . Combo } { this . ModuleName } does not affect { Labels . Action ( actionID ) } - this replacer should not have been invoked!") ;
7070 return false ;
7171 }
7272 if ( ! IsEnabled ( this . Preset ) ) {
@@ -77,20 +77,20 @@ public bool TryInvoke(uint actionID, uint lastComboActionId, float comboTime, by
7777 if ( comboTime <= 0 )
7878 lastComboActionId = 0 ;
7979
80- Service . TickLogger . Info ( $ "{ LogTag . Combo } { this . ModuleName } .Invoke({ actionID } , { lastComboActionId } , { comboTime } , { level } )") ;
80+ Service . TickLogger . Info ( $ "{ LogTag . Combo } { this . ModuleName } .Invoke({ Labels . Action ( actionID ) } , { Labels . Action ( lastComboActionId ) } , { comboTime } , { level } )") ;
8181 try {
8282 uint resultingActionID = this . Invoke ( actionID , lastComboActionId , comboTime , level ) ;
8383 if ( resultingActionID == 0 || actionID == resultingActionID ) {
8484 Service . TickLogger . Debug ( $ "{ LogTag . Combo } No replacement from { this . ModuleName } ") ;
8585 return false ;
8686 }
8787
88- Service . TickLogger . Info ( $ "{ LogTag . Combo } Became # { resultingActionID } ") ;
88+ Service . TickLogger . Info ( $ "{ LogTag . Combo } Became { Labels . Action ( resultingActionID ) } ") ;
8989 newActionID = resultingActionID ;
9090 return true ;
9191 }
9292 catch ( Exception ex ) {
93- Service . TickLogger . Error ( $ "{ LogTag . Combo } Error in { this . ModuleName } .Invoke({ actionID } , { lastComboActionId } , { comboTime } , { level } )", ex ) ;
93+ Service . TickLogger . Error ( $ "{ LogTag . Combo } Error in { this . ModuleName } .Invoke({ Labels . Action ( actionID ) } , { Labels . Action ( lastComboActionId ) } , { comboTime } , { level } )", ex ) ;
9494 return false ;
9595 }
9696 }
@@ -204,15 +204,15 @@ protected static uint PickByCooldown(uint preference, params uint[] actions) {
204204 // And they've got a TTS-style voice just constantly repeating "PAIN. PAIN. PAIN. PAIN. PAIN." from it?
205205 // Yeah.
206206
207- Service . TickLogger . Debug ( $ "{ LogTag . Combo } CDCMP: { a . ActionID } , { b . ActionID } : { choice . ActionID } \n { a . Data . DebugLabel } \n { b . Data . DebugLabel } ") ;
207+ Service . TickLogger . Debug ( $ "{ LogTag . Combo } CDCMP: { Labels . Action ( a . ActionID ) } , { Labels . Action ( b . ActionID ) } : { Labels . Action ( choice . ActionID ) } \n { a . Data . DebugLabel } \n { b . Data . DebugLabel } ") ;
208208 return choice ;
209209 }
210210
211211 uint id = actions
212212 . Select ( selector )
213213 . Aggregate ( ( a1 , a2 ) => compare ( preference , a1 , a2 ) )
214214 . ActionID ;
215- Service . TickLogger . Info ( $ "{ LogTag . Combo } Final selection: { id } ") ;
215+ Service . TickLogger . Info ( $ "{ LogTag . Combo } Final selection: { Labels . Action ( id ) } ") ;
216216 return id ;
217217 }
218218
@@ -323,7 +323,7 @@ protected static unsafe CooldownData GetCooldown(uint actionID) {
323323 cooldownPtr ->ActionId = actionID ;
324324
325325 CooldownData cd = cooldownCache [ actionID ] = * ( CooldownData * ) cooldownPtr ;
326- Service. TickLogger . Debug ( $ "{ LogTag . Combo } Retrieved cooldown data for action # { actionID } : { cd . DebugLabel } ") ;
326+ Service. TickLogger . Debug ( $ "{ LogTag . Combo } Retrieved cooldown data for action { Labels . Action ( actionID ) } : { cd . DebugLabel } ") ;
327327 return cd ;
328328 }
329329
@@ -346,7 +346,7 @@ protected static unsafe CooldownData GetCooldown(uint actionID) {
346346 ( uint statusID , uint ? ObjectId , uint ? sourceID ) key = ( statusID , actor ? . EntityId , sourceID ) ;
347347
348348 if ( statusCache . TryGetValue ( key , out Status ? found ) ) {
349- Service . TickLogger . Info ( $ "{ LogTag . StatusEffect } Found cached status data for # { statusID } : "
349+ Service . TickLogger . Info ( $ "{ LogTag . StatusEffect } Found cached status data for { Labels . Status ( statusID ) } : "
350350 + ( found is null
351351 ? "not active"
352352 : $ "{ found . Param } stacks, { found . RemainingTime } seconds"
@@ -364,12 +364,12 @@ protected static unsafe CooldownData GetCooldown(uint actionID) {
364364 if ( status is null )
365365 continue ;
366366 if ( status . StatusId == statusID && ( ! sourceID . HasValue || status . SourceId is 0 or InvalidObjectID || status . SourceId == sourceID ) ) {
367- Service . TickLogger . Info ( $ "{ LogTag . StatusEffect } Caching status data for # { statusID } : { status . Param } stacks, { status . RemainingTime } seconds") ;
367+ Service . TickLogger . Info ( $ "{ LogTag . StatusEffect } Caching status data for { Labels . Status ( statusID ) } : { status . Param } stacks, { status . RemainingTime } seconds") ;
368368 return statusCache [ key ] = status ;
369369 }
370370 }
371371
372- Service . TickLogger . Info ( $ "{ LogTag . StatusEffect } Caching null status for # { statusID } ") ;
372+ Service . TickLogger . Info ( $ "{ LogTag . StatusEffect } Caching null status for { Labels . Status ( statusID ) } ") ;
373373 return statusCache [ key ] = null ;
374374 }
375375
0 commit comments