Optionalmetadata: anyAny information that we would want to show/update inside a GUI application about this RoomConfig. This is not used by the API by default, but we can reprogram the RoomConfig's prototype to make use of this value if we want.
void.
// If you are using require.js library or in node.js,
// API might also be defined via var API = require("mooball");
function TestRoomConfig(API){
const { RoomConfig } = API;
Object.setPrototypeOf(this, RoomConfig.prototype);
RoomConfig.call(this, { // this is the call to the constructor.
version: "0.1",
author: "author",
description: `This is a test roomConfig`
});
// Custom RoomConfig codes here...
}
Creates a new
RoomConfiginstance.