0.3
The API has been reworked a little to make it simpler:
NBN_GameClient_Init
, NBN_GameClient_Deinit
, NBN_GameServer_Init
and NBN_GameClient_Deinit
function have been removed. Only NBN_GameClient_Start
, NBN_GameClient_Stop
, NBN_GameServer_Start
and NBN_GameServer_Stop
remain.
NBN_GameClient_Start
and NBN_GameServer_Start
now require a bunch of parameters to configure the application (most of them are the same as the ones that were to NBN_GameClient_Init
and NBN_GameServer_Init
).
A new feature has been added:
Data can now be passed from the client to server (as an arbitrary byte array) during the connection phase through a new NBN_GameClient_Start
's parameter. The data can be read from the server and used to decide whereas to accept or reject the connection.
Cheers,
Nathan.