Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
每个模拟客户端调用一次;用于确定应用程序是否应等待模拟客户端。
public bool _callback WaitForSimulatedClientStart( asa_uint32 repetitionNum, asa_uint32 numRepetitions, asa_uint32 simulatedClientNum, asa_uint32 numSimulatedClients, const MLReplayNamesAndValues * namesAndValues )
repetitionNum 当前重复数,始终为 1。
numRepetitions 会话的重复次数,始终为 1。
simulatedClientNum 用于区别此模拟客户端与相同 MLReplay 实例中其它模拟客户端的模拟客户端号(顺序为 1)。
numSimulatedClients 此 MLReplay 实例中的模拟客户端总数。
namesAndValues 用于自定义重放行为的一组定义的名称和值。
返回 false 时将取消重放会话。
一旦 WaitForSimulatedClientStart 对模拟客户端 1、...、x 返回 true,模拟客户端 x 就会启动。因此,在模拟客户端 1、...、i-x 的 WaitForSimulatedClientStart 返回之前,不会为模拟客户端 x 调用 WaitForSimulatedClientStart。