Talk:Plugin API

From Mineserver Wiki

(Difference between revisions)
Jump to: navigation, search
(A few Questions)
m (A few Questions)
Line 1: Line 1:
=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)

Revision as of 22:14, 7 January 2011

A few Questions

  • There's no sendBlock() in the plugin_api.h file? Nathacof

It's done automatically on setBlock() --Fador 00:14, 8 January 2011 (EET)

  • Why is dtos() defined in command.cpp but referenced in the example plugin? Nathacof

Now it's in the example --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? Nathacof

Users are referenced by the name (char *), no objects are used --Fador 00:14, 8 January 2011 (EET)