forked from nezroy/EVEoj
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinv.js
More file actions
41 lines (30 loc) · 727 Bytes
/
Copy pathinv.js
File metadata and controls
41 lines (30 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
var EVEoj = EVEoj || {};
EVEoj.inv = EVEoj.inv || {};
(function ($) {
var E = EVEoj;
var ME = EVEoj.inv;
})(jQuery);
EVEoj.inv.item = EVEoj.inv.item || {};
(function ($) {
var E = EVEoj;
var I = EVEoj.inv;
var ME = EVEoj.inv.item;
ME.ID = null;
ME.groupID = null;
ME.name = null;
ME.desc = null;
ME.mass = 0;
ME.volume = 0.0;
ME.capacity = 0;
ME.portionSize = 1;
ME.raceID = null;
ME.basePrice = 0.0;
ME.published = false;
ME.marketGroupID = null;
ME.chanceOfDuplicating = 0.0;
ME.LoadFromObj = function (obj) {
if (typeof obj !== 'object') return false;
if (typeof typeID === 'number') typeID = "" + typeID;
if (typeof typeID !== 'string') return false;
};
})(jQuery);