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

29 lines
570 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,
2015-02-13 16:13:55 +00:00
headless: false,
max_players: null,
mods: [],
parameters: [],
password: '',
persistent: false,
port: 2302,
state: null,
title: '',
von: 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
});