Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: 3670bbdb5b193a8ff59342e171810fe44415d9bb
https://github.com/Warzone2100/warzone2100/commit/3670bbdb5b193a8ff59342e171810fe44415d9bb
Author: KJeff01 <[email protected]>
Date: 2017-12-18 (Mon, 18 Dec 2017)
Changed paths:
M src/multigifts.cpp
M src/qtscript.cpp
M src/qtscript.h
M src/qtscriptfuncs.cpp
Log Message:
-----------
Add alliance events and functions for JS API.
eventAllianceOffer(from, to) - Fires when an alliance is offered.
eventAllianceAccepted(from, to).
eventAllianceBroken(from, to).
Qtscript: sendAllianceRequest(to) - Request an alliance with a player.
It does nothing if the alliance type is not ALLIANCES.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits