mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-11 23:45:01 -04:00
Removed native methods that no longer exist.
This commit is contained in:
@@ -1955,6 +1955,7 @@ bool JavaLibrary::registerNatives(const JNINativeMethod natives[], int count)
|
||||
{
|
||||
ms_env->ExceptionClear();
|
||||
DEBUG_REPORT_LOG(true, ("RegisterNatives failed: %s: %s\n", natives[i].name, natives[i].signature));
|
||||
WARNING(true, ("RegisterNatives failed: could not register Java method: %s: with signature %s (does it exist in the codebase?)\n", natives[i].name, natives[i].signature));
|
||||
result = lresult;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ bool ScriptMethodsCollectionNamespace::install()
|
||||
JF("getCollectionSlotCategoryInfo", "(Ljava/lang/String;)[Ljava/lang/String;", getCollectionSlotCategoryInfo),
|
||||
JF("getCollectionSlotPrereqInfo", "(Ljava/lang/String;)[Ljava/lang/String;", getCollectionSlotPrereqInfo),
|
||||
JF("getCollectionSlotName", "(I)Ljava/lang/String;", getCollectionSlotName),
|
||||
JF("getCollectionSlotMaxValue", "(Ljava/lang/String;)J", getCollectionSlotMaxValue),
|
||||
//JF("getCollectionSlotMaxValue", "(Ljava/lang/String;)J", getCollectionSlotMaxValue),
|
||||
JF("getAllCollectionSlotsInCollection", "(Ljava/lang/String;)[Ljava/lang/String;", getAllCollectionSlotsInCollection),
|
||||
JF("getAllCollectionSlotsInPage", "(Ljava/lang/String;)[Ljava/lang/String;", getAllCollectionSlotsInPage),
|
||||
JF("getAllCollectionsInPage", "(Ljava/lang/String;)[Ljava/lang/String;", getAllCollectionsInPage),
|
||||
|
||||
@@ -66,7 +66,7 @@ const JNINativeMethod NATIVES[] = {
|
||||
JF("_permissionsMakePublic", "(J)V", permissionsMakePublic),
|
||||
JF("_permissionsMakePrivate", "(J)V", permissionsMakePrivate),
|
||||
JF("_expelFromBuilding", "(J)V", expelFromBuilding),
|
||||
JF("_sendDirtyCellPermissionsUpdateToClient", "(JJZ)V", sendDirtyCellPermissionsUpdateToClient),
|
||||
//JF("_sendDirtyCellPermissionsUpdateToClient", "(JJZ)V", sendDirtyCellPermissionsUpdateToClient),
|
||||
};
|
||||
|
||||
return JavaLibrary::registerNatives(NATIVES, sizeof(NATIVES)/sizeof(NATIVES[0]));
|
||||
|
||||
@@ -112,7 +112,7 @@ const JNINativeMethod NATIVES[] = {
|
||||
JF("_renameCharacterReleaseNameReservation", "(J)V", renameCharacterReleaseNameReservation),
|
||||
JF("_renameCharacter", "(JLjava/lang/String;)V", renameCharacter),
|
||||
JF("_getPlayerStationId", "(J)I", getPlayerStationId),
|
||||
JF("_getPlayerUsernameDoNotUse", "(J)Ljava/lang/String;", getPlayerUsername),
|
||||
//JF("_getPlayerUsernameDoNotUse", "(J)Ljava/lang/String;", getPlayerUsername),
|
||||
};
|
||||
|
||||
return JavaLibrary::registerNatives(NATIVES, sizeof(NATIVES)/sizeof(NATIVES[0]));
|
||||
|
||||
@@ -50,7 +50,7 @@ const JNINativeMethod NATIVES[] = {
|
||||
JF("_saveBytesOnClient", "(JLjava/lang/String;[B)V", saveBytesOnClient),
|
||||
JF("_launchClientWebBrowser", "(JLjava/lang/String;)V", launchClientWebBrowser),
|
||||
JF("_playCutScene", "(JLjava/lang/String;)V", playCutScene),
|
||||
JF("_triggerServerWarning", "(Ljava/lang/String;)V", triggerServerWarning),
|
||||
// JF("_triggerServerWarning", "(Ljava/lang/String;)V", triggerServerWarning),
|
||||
};
|
||||
|
||||
return JavaLibrary::registerNatives(NATIVES, sizeof(NATIVES)/sizeof(NATIVES[0]));
|
||||
|
||||
Reference in New Issue
Block a user