arma-server-web-admin/public/js/app/models/server.js
2017-02-18 19:36:53 +01:00

28 lines
545 B
JavaScript

define(function (require) {
"use strict";
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone');
return Backbone.Model.extend({
defaults: {
admin_password: '',
battle_eye: false,
headless: false,
max_players: null,
mods: [],
parameters: [],
password: '',
persistent: false,
port: 2302,
state: null,
title: '',
von: false,
},
urlRoot: '/api/servers/',
});
});