View Single Post
Old 07/12/2012, 01:56 PM   #6
mk124
Huge Clucker
 
mk124's Avatar
 
Join Date: Jul 2007
Location: Nanning, China
Posts: 319
Reputation: 59
Default Re: [DP] Project Shoebill Milestone2 - SA-MP Java Development Kit - SNAPSHOT

Quote:
Originally Posted by ikkentim View Post
Same response from me as on the .NET sa-mp coding.

It can't trigger custom natives(plugins, etc) properly.
Im 99% sure it can't be efficient.
However, since I think it is unnecessary, Shoebill doesn't provide the support of accessing AMX now.
If I implement the feature of accessing AMX in Shoebill, it seems like this:

Code:
AmxFunction func = amxInstance.getNative("print");
int ret = func.call("test");
// ...
amxInstance.registerNative("SendClientMessageWithShoebill", func);

As a consequence, though Shoebill doesn't provide this feature (maybe never), it can be implemented if I want.
What's more, You can also make a native plugin and call the native / public functions you need in it, and then provide Java Plugin the native methods by JNI.
__________________

Last edited by mk124; 07/12/2012 at 05:11 PM.
mk124 is offline   Reply With Quote