Jump to content
  • 0

[help] need someone ho explain about importing system.


Question

Posted

hello my friends ;).. i have question how the importing system works ? like for example for buffer first lines in __init__ file you add something like this

 

from com.l2jfree.gameserver.model.actor.instance import L2PcInstance

 

so that means he look the information about that code in these folders

com.l2jfree.gameserver.model.actor.instance

com/l2jfree/gameserver/model/actor/instance

but if i don't have that kind of folder in my server folders?

or he reads them from .jar files?

1 answer to this question

Recommended Posts

  • 0
Posted

Its reading those classes from core - and its .jar file.

 

To make sure that your imports are correct, compare them with class pathes from core.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock