User Tools

Site Tools


addons:using_libs:ffxi.vanatime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
addons:using_libs:ffxi.vanatime [2015/11/20 00:30]
atom0s created
addons:using_libs:ffxi.vanatime [2015/11/20 00:36] (current)
atom0s
Line 1: Line 1:
-====== Vanatime Library ======+====== ​FFXi Vanatime Library ======
  
-The Vanatime library exposes functions useful to obtain the current Vana'​diel time information. ​+The FFXi Vanatime library exposes functions useful to obtain the current Vana'​diel time information. ​
  
 The following functions are exposed by this library: The following functions are exposed by this library:
Line 48: Line 48:
     * A table containing various time data.     * A table containing various time data.
       * The following indexes are: WeekDay, Day, Month, Year, MoonPercent,​ MoonPhase       * The following indexes are: WeekDay, Day, Month, Year, MoonPercent,​ MoonPhase
 +
 +The following values are defined from the vanatime library.
 +
 +<code lua>
 +MOONPHASE_NEW ​              = 0;
 +MOONPHASE_WAXINGCRESCENT ​   = 1;
 +MOONPHASE_WAXINGCRESCENT2 ​  = 2;
 +MOONPHASE_FIRSTQUARTER ​     = 3;
 +MOONPHASE_WAXINGGIBBOUS ​    = 4;
 +MOONPHASE_WAXINGGIBBOUS2 ​   = 5;
 +MOONPHASE_FULL ​             = 6;
 +MOONPHASE_WANINGGIBBOUS ​    = 7;
 +MOONPHASE_WANINGGIBBOUS2 ​   = 8;
 +MOONPHASE_LASTQUARTER ​      = 9;
 +MOONPHASE_WANINGCRESCENT ​   = 10;
 +MOONPHASE_WANINGCRESCENT2 ​  = 11;
 +MOONPHASE_UNKNOWN ​          = 12;
 +</​code>​
 +
 +<code lua>
 +WEEKDAY_FIRESDAY ​           = 0;
 +WEEKDAY_EARTHSDAY ​          = 1;
 +WEEKDAY_WATERSDAY ​          = 2;
 +WEEKDAY_WINDSDAY ​           = 3;
 +WEEKDAY_ICEDAY ​             = 4;
 +WEEKDAY_LIGHTNINGDAY ​       = 5;
 +WEEKDAY_LIGHTSDAY ​          = 6;
 +WEEKDAY_DARKSDAY ​           = 7;
 +WEEKDAY_UNKNOWN ​            = 8;
 +</​code>​
addons/using_libs/ffxi.vanatime.1448008253.txt.gz · Last modified: 2015/11/20 00:30 by atom0s