Difference between revisions of "Talk:Plugin API"

From Mineserver Wiki
Jump to navigation Jump to search
=A few Questions=
=A few Questions=
* There's no <code>sendBlock()</code> in the plugin_api.h file? [[User:Nathacof|Nathacof]]
* There's no <code>sendBlock()</code> in the plugin_api.h file? [[User:Nathacof|Nathacof]]
 +
It's done automatically on setBlock() --[[User:Fador|Fador]] 00:14, 8 January 2011 (EET)
* Why is <code>dtos()</code> defined in command.cpp but referenced in the example plugin? [[User:Nathacof|Nathacof]]
* Why is <code>dtos()</code> defined in command.cpp but referenced in the example plugin? [[User:Nathacof|Nathacof]]
 +
Now it's in the example --[[User:Fador|Fador]] 00:14, 8 January 2011 (EET)
* How do I get a callback function to accept a User object if I do not include the class files in my plugin? [[User:Nathacof|Nathacof]]
* How do I get a callback function to accept a User object if I do not include the class files in my plugin? [[User:Nathacof|Nathacof]]
 +
Users are referenced by the name (char *), no objects are used --[[User:Fador|Fador]] 00:14, 8 January 2011 (EET)
 +
 +
== ToDo ==
 +
 +
When work on mob functions is finished, should be documentated here. [[User:Delirium|Delirium]] 23:55, 26 February 2011 (EET)