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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..