developer:toObject(message)
function messagesRegistering()
developer:registerMessage("MapComplementaryInformationsDataMessage", _MapComplementaryInformationsDataMessage)
end
function _MapComplementaryInformationsDataMessage(message)
local object = developer:toObject(message)
global:printSuccess("mapId : "..object.mapId)
global:printSuccess("subAreaId.."..object.subAreaId)
global:printSuccess("Nombre d'actors : "..#object.actors)
for _, actor in ipairs(object.actors) do
if actor._type == "GameRolePlayCharacterInformations" then
global:printSuccess(actor.name)
end
end
end