I am making a Team Render plugin in LAN,And i successed to use the API "GetAllMachineUuids" collecting other machine's Uid,but then it was failed to verify these machines using "VerifyServerOnClient",I don't know where the error gave rise to this problem on my code ,Could anyone show me the example of connection in Team Render?
my part of code:
if (TeamRender::GetInstance()->NetRender != nullptr)
{
maxon::BaseArray<C4DUuid> MachineArrayUuids;
TeamRender::GetInstance()->NetRender->GetAllMachineUuids(MachineArrayUuids, MACHINELIST_ONLINE, VERIFICATIONBIT::VERIFICATIONBIT_SHARED, false, true);
for(int i = 0;i < MachineArrayUuids.GetCount(); i++)
{
Machine* _machine = TeamRender::GetInstance()->NetRender->FindMachine(MachineArrayUuids[i], MACHINELIST_ONLINE, VERIFICATIONBIT_VERIFIED);
TeamRender::GetInstance()->NetRender->VerifyServerOnClient(THREADMODE_ASYNC, MachineArrayUuids[i],"175",false,false,30000);
GePrint(_machine->GetName());
machine = _machine->GetNext();
}
}