antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
DownD

Duvida Sobre Modulos No Metin

4 posts in this topic

Boas, eu gostaria de saber se é possivel aceder aos modulos (por exemplo: player, chr, net...) para saber como funcionam e que argumentos levam as funções de cada módulo.

Eu vejo que alguns ficheiros fazem "import" desses módulos mas não os consigos encontrar em lado algum. E segundo o que aprendi, estes modulos são importados a partir de um ficheiro .py com o mesmo nome do modulo, por exemplo: player.py

Sou ainda iniciante em python, mas tenho conhecimento em C++.

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif

São módulos builtin, ou seja, escritos no binário.

Share this post


Link to post
Share on other sites

São módulos builtin, ou seja, escritos no binário.

Obrigado, mas eu tambem procurei por ficheiros com o nome de player.cpp etc... Mas não encontrei nada. Os módulos encontrar-se agrupados em algum ficheiro ou lib?

Share this post


Link to post
Share on other sites

PythonPlayerModule.cpp -> player

PythonCharacterModule.cpp -> chr

PythonCharacterManagerModule.cpp -> chrMgr

PythonNetworkModule.cpp -> net

E muitos mais, procura pelo UserInterface da source.

Share this post


Link to post
Share on other sites

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
Sign in to follow this