Add nightly realm reports and observed bot activity explanations
Core tests / core (push) Successful in 59s
Core tests / core (push) Successful in 59s
This commit is contained in:
@@ -114,7 +114,7 @@ local function player_payload(player)
|
||||
healthPct=player:GetHealthPct(),
|
||||
observedAt=os.time(),team=player:GetTeam(),x=player:GetX(),y=player:GetY(),
|
||||
guildId=player:GetGuildId(),guildName=player:GetGuildName() or "",guildRank=player:GetGuildRank(),
|
||||
inCombat=player:IsInCombat(),
|
||||
inCombat=player:IsInCombat(),casting=player:IsCasting(),taxi=player:IsTaxi(),movementType=player:GetMovementType(),
|
||||
isBot=isBot
|
||||
}
|
||||
end
|
||||
@@ -143,6 +143,8 @@ end
|
||||
|
||||
local function world_payload(player)
|
||||
local p=player_payload(player)
|
||||
local ai=player:IsPlayerbot() and player:GetBotAI() or nil
|
||||
p.humanControlled=ai and ai:HasGameClientMaster() or false
|
||||
local g=player:GetGroup()
|
||||
p.groupId=g and tostring(g:GetGUID()) or ""
|
||||
local members={}
|
||||
|
||||
Reference in New Issue
Block a user