2014-02-09 03:19:48 +00:00
|
|
|
define(function (require) {
|
2014-04-08 20:59:59 +00:00
|
|
|
|
2014-02-09 03:19:48 +00:00
|
|
|
"use strict";
|
2014-04-08 20:59:59 +00:00
|
|
|
|
2014-02-09 03:19:48 +00:00
|
|
|
var $ = require('jquery'),
|
|
|
|
_ = require('underscore'),
|
|
|
|
Backbone = require('backbone');
|
2014-04-08 20:59:59 +00:00
|
|
|
|
2014-02-09 03:19:48 +00:00
|
|
|
return Backbone.Model.extend({
|
|
|
|
defaults: {
|
2014-09-12 23:51:31 +00:00
|
|
|
admin_password: '',
|
2017-02-20 08:44:07 +00:00
|
|
|
auto_start: false,
|
2014-09-12 23:51:31 +00:00
|
|
|
battle_eye: false,
|
|
|
|
max_players: null,
|
|
|
|
mods: [],
|
2017-09-11 09:28:47 +00:00
|
|
|
number_of_headless_clients: 0,
|
2016-11-19 22:31:38 +00:00
|
|
|
parameters: [],
|
2014-09-12 23:51:31 +00:00
|
|
|
password: '',
|
|
|
|
persistent: false,
|
2015-01-16 22:09:53 +00:00
|
|
|
port: 2302,
|
2014-11-09 18:07:00 +00:00
|
|
|
state: null,
|
2014-09-12 23:51:31 +00:00
|
|
|
title: '',
|
|
|
|
von: false,
|
2017-08-07 03:15:25 +00:00
|
|
|
verify_signatures: false,
|
2014-02-14 01:16:05 +00:00
|
|
|
},
|
2014-04-08 20:59:59 +00:00
|
|
|
urlRoot: '/api/servers/',
|
2014-02-09 03:19:48 +00:00
|
|
|
});
|
2014-04-08 20:59:59 +00:00
|
|
|
|
|
|
|
});
|