Cuberite Forum
Test Pluggin: Noooo.... - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Test Pluggin: Noooo.... (/thread-1381.html)

Pages: 1 2


RE: Test Pluggin: Noooo.... - worktycho - 02-19-2014

: is equivelent to c++'s -> when your dealing with an instance. When dealing with a static method : is equivelent to ::. However itemCategory is not a class its a namespace (hence no c). This means that function is not in a class so you call with dot.