arma-server-web-admin/public/js/app/models/server.js

30 lines
616 B
JavaScript
Raw Normal View History

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: {
admin_password: '',
auto_start: false,
battle_eye: false,
max_players: null,
mods: [],
number_of_headless_clients: 0,
parameters: [],
password: '',
persistent: false,
port: 2302,
state: null,
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
});