August 2010
Intermediate to advanced
412 pages
8h 59m
English
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: " We have an npcLoop function in server-side extension."
A block of code will be set as follows:
var javaExt = Packages.it.gotoandplay.smartfoxserver.extensions.ExtensionHelper;
var helper = javaExt.instance();
var zone = helper.getZone("virtualWorld");
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be shown in bold:
res.list = [];
var holder = param.holder;
var sql = "SELECT * FROM quests WHERE holder='" + holder + "'"; var resultCount = getResultArray(sql, ...Read now
Unlock full access