Commit c2d2fef 1 parent 17e781b commit c2d2fef Copy full SHA for c2d2fef
File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ function listener()
6
6
playerTurns = playerTurns .. " {" ..
7
7
' "id" : ' .. tostring (a :GetID ()) .. " ," ..
8
8
' "nickName" : ' .. ' "' .. a :GetNickName () .. ' "' .. " ," ..
9
+ ' "civilization" : ' .. ' "' .. a :GetCivilizationShortDescription () .. ' "' .. " ," ..
9
10
' "isTurnComplete" : ' .. tostring (a :HasReceivedNetTurnComplete ()) .. " ," ..
10
11
' "isOnline" : ' .. tostring (Network .IsPlayerConnected (a :GetID ())) .. " ," ..
11
12
' "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.
28
28
{
29
29
"id" : 1 ,
30
30
"nickName" : " Atreides" ,
31
+ "civilization" : " Morocco" ,
31
32
"isTurnComplete" : false ,
32
33
"isOnline" : true ,
33
34
"isAlive" : true
34
35
},
35
36
{
36
37
"id" : 2 ,
37
38
"nickName" : " bobby_joe" ,
39
+ "civilization" : " America" ,
38
40
"isTurnComplete" : true ,
39
41
"isOnline" : false ,
40
42
"isAlive" : true
You can’t perform that action at this time.
0 commit comments