[6.2.0]录包工具改版

This commit is contained in:
xuxinchao
2023-11-16 16:15:56 +08:00
parent d8c0cf095a
commit 7256c2804b
16 changed files with 370 additions and 214 deletions

View File

@@ -1,6 +1,7 @@
package com.mogo.eagle.core.function.call.devatools
import com.mogo.eagle.core.data.deva.badcase.AiDataEntity
import com.mogo.eagle.core.data.deva.badcase.RecordOptionEntity
import com.mogo.eagle.core.function.api.devatools.badcase.BadCaseNetListener
import com.mogo.eagle.core.function.call.base.CallerBase
@@ -16,4 +17,24 @@ object CallerDevaToolsNetManager: CallerBase<BadCaseNetListener>() {
}
}
/**
* 主动录包数据回调
*/
fun invokeInitiativeResponse(list: List<RecordOptionEntity>){
M_LISTENERS.forEach{
val listener = it.value
listener.onInitiativeResponse(list)
}
}
/**
* 被动录包数据回调
*/
fun invokePassiveResponse(list: List<RecordOptionEntity>){
M_LISTENERS.forEach{
val listener = it.value
listener.onPassiveResponse(list)
}
}
}