| 65 | } |
| 66 | |
| 67 | void RemoteDebuggerClient::SendResourceLoadedHint(ResourceType Type, ResourcePoolType PoolType, const char* Name, const wchar_t* Path, float LoadingTime) |
| 68 | { |
| 69 | shared_ptr<Value> tMessage = make_shared<Value>(ValueType::Dictionary); |
| 70 | tMessage->VDict["type"] = make_shared<Value>(static_cast<int>(Type)); |
| 71 | tMessage->VDict["pool"] = make_shared<Value>(static_cast<int>(PoolType)); |
| 72 | tMessage->VDict["name"] = make_shared<Value>(Name); |
| 73 | tMessage->VDict["path"] = make_shared<Value>(fcyStringHelper::WideCharToMultiByte(Path, CP_UTF8)); |
| 74 | tMessage->VDict["time"] = make_shared<Value>(static_cast<int>(LoadingTime * 1000.f)); |
| 75 | |
| 76 | sendUdpMessage(UdpMessageType::ResourceLoaded, tMessage); |
| 77 | } |
| 78 | |
| 79 | void RemoteDebuggerClient::SendResourceRemovedHint(ResourceType Type, ResourcePoolType PoolType, const char* Name) |
| 80 | { |
nothing calls this directly
no outgoing calls
no test coverage detected