From bbc6b7f05a820c84a06ab35061fe5edf4d651f58 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Mon, 19 Dec 2016 23:36:12 +0200 Subject: [PATCH] Added format of DataString for each DataType Enum --- src/com/djrapitops/plan/api/DataType.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/com/djrapitops/plan/api/DataType.java b/src/com/djrapitops/plan/api/DataType.java index 1918d222c..20a4db567 100644 --- a/src/com/djrapitops/plan/api/DataType.java +++ b/src/com/djrapitops/plan/api/DataType.java @@ -2,5 +2,18 @@ package com.djrapitops.plan.api; public enum DataType { - STRING, TIME, DATE, LOCATION, AMOUNT, AMOUNT_WITH_MAX, AMOUNT_WITH_LETTERS, BOOLEAN, PERCENT, OTHER, MAP, LINK, HEATMAP, DEPRECATED + STRING, // Any preformatted data & words + TIME, // Long in milliseconds + DATE, // Long in milliseconds since Epoch Date 1970 + LOCATION, // X:# Y:# Z:# + AMOUNT, // Number + AMOUNT_WITH_MAX, // Example: 41 / 44 + AMOUNT_WITH_LETTERS, // Example $50 + BOOLEAN, // true/false + PERCENT, // Example 50% + OTHER, // Any data not listed here - will not be analyzed + MAP, // An image presentation of array in string format, no format yet + LINK, // Link to a webpage + HEATMAP, // An image presentation of array in string format, no format yet + DEPRECATED // Old data that has been rendered useless }