You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
183
184
{
184
-
if (m_javaJniServiceClass == nullptr || m_javaJniServiceInstance == nullptr)
185
+
if (CounterJniCache::serviceClassCounter == nullptr || m_javaJniServiceInstance == nullptr)
185
186
{
186
187
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService:onValueChanged (LcustomTypes/customTypes_api/Vector3D;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;[LcustomTypes/customTypes_api/Vector3D;[Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
213
214
{
214
-
if (m_javaJniServiceClass == nullptr)
215
+
if (CounterJniCache::serviceClassCounter == nullptr)
215
216
{
216
217
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService::onVectorChanged(LcustomTypes/customTypes_api/Vector3D;)V CLASS not found"));
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService:onVectorChanged(LcustomTypes/customTypes_api/Vector3D;)V not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
238
238
{
239
-
if (m_javaJniServiceClass == nullptr)
239
+
if (CounterJniCache::serviceClassCounter == nullptr)
240
240
{
241
241
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService::onExternVectorChanged(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService:onExternVectorChanged(Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
263
262
{
264
-
if (m_javaJniServiceClass == nullptr)
263
+
if (CounterJniCache::serviceClassCounter == nullptr)
265
264
{
266
265
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService::onVectorArrayChanged([LcustomTypes/customTypes_api/Vector3D;)V CLASS not found"));
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService:onVectorArrayChanged([LcustomTypes/customTypes_api/Vector3D;)V not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
288
286
{
289
-
if (m_javaJniServiceClass == nullptr)
287
+
if (CounterJniCache::serviceClassCounter == nullptr)
290
288
{
291
289
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService::onExternVectorArrayChanged([Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
UE_LOG(LogCounterCounter_JNI, Warning, TEXT("counter/counterjniservice/CounterJniService:onExternVectorArrayChanged([Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
228
231
{
229
-
if (m_javaJniClientClass == nullptr)
232
+
if (CounterJniCache::javaClassCounter == nullptr)
230
233
{
231
234
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:setVector (LcustomTypes/customTypes_api/Vector3D;)V CLASS not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
273
276
{
274
-
if (m_javaJniClientClass == nullptr)
277
+
if (CounterJniCache::javaClassCounter == nullptr)
275
278
{
276
279
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:setExternVector (Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
318
321
{
319
-
if (m_javaJniClientClass == nullptr)
322
+
if (CounterJniCache::javaClassCounter == nullptr)
320
323
{
321
324
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:setVectorArray ([LcustomTypes/customTypes_api/Vector3D;)V CLASS not found"));
if (JNIEnv* Env = FAndroidApplication::GetJavaEnv())
363
366
{
364
-
if (m_javaJniClientClass == nullptr)
367
+
if (CounterJniCache::javaClassCounter == nullptr)
365
368
{
366
369
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:setExternVectorArray ([Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
if (CounterJniCache::clientClassCounter == nullptr)
398
401
{
399
402
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:incrementAsync:(Ljava/lang/String;Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
if (CounterJniCache::clientClassCounter == nullptr)
436
439
{
437
440
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:incrementArrayAsync:(Ljava/lang/String;[Lorg/apache/commons/math3/geometry/euclidean/threed/Vector3D;)V CLASS not found"));
if (CounterJniCache::clientClassCounter == nullptr)
474
477
{
475
478
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:decrementAsync:(Ljava/lang/String;LcustomTypes/customTypes_api/Vector3D;)V CLASS not found"));
if (CounterJniCache::clientClassCounter == nullptr)
512
515
{
513
516
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:decrementArrayAsync:(Ljava/lang/String;[LcustomTypes/customTypes_api/Vector3D;)V CLASS not found"));
auto id = gUCounterCounterJniClientmethodHelper.StorePromise(Promise);
@@ -551,12 +554,12 @@ bool UCounterCounterJniClient::_bindToService(FString servicePackage, FString co
551
554
m_lastConnectionId = connectionId;
552
555
#if PLATFORM_ANDROID && USE_ANDROID_JNI
553
556
JNIEnv* Env = FAndroidApplication::GetJavaEnv();
554
-
if (m_javaJniClientClass == nullptr)
557
+
if (CounterJniCache::clientClassCounter == nullptr)
555
558
{
556
559
UE_LOG(LogCounterCounterClient_JNI, Warning, TEXT("counter/counterjniclient/CounterJniClient:bind:(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z CLASS not found"));
0 commit comments