File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ function listener()
66 playerTurns = playerTurns .. " {" ..
77 ' "id" : ' .. tostring (a :GetID ()) .. " ," ..
88 ' "nickName" : ' .. ' "' .. a :GetNickName () .. ' "' .. " ," ..
9+ ' "civilization" : ' .. ' "' .. a :GetCivilizationShortDescription () .. ' "' .. " ," ..
910 ' "isTurnComplete" : ' .. tostring (a :HasReceivedNetTurnComplete ()) .. " ," ..
1011 ' "isOnline" : ' .. tostring (Network .IsPlayerConnected (a :GetID ())) .. " ," ..
1112 ' "isAlive" : ' .. tostring (a :IsAlive ()) ..
Original file line number Diff line number Diff line change @@ -28,13 +28,15 @@ Civ5 Pitboss Webhook will send an HTTP POST request with a JSON body.
2828 {
2929 "id" : 1 ,
3030 "nickName" : " Atreides" ,
31+ "civilization" : " Morocco" ,
3132 "isTurnComplete" : false ,
3233 "isOnline" : true ,
3334 "isAlive" : true
3435 },
3536 {
3637 "id" : 2 ,
3738 "nickName" : " bobby_joe" ,
39+ "civilization" : " America" ,
3840 "isTurnComplete" : true ,
3941 "isOnline" : false ,
4042 "isAlive" : true
You can’t perform that action at this time.
0 commit comments