MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _update_gamification_state

Method _update_gamification_state

shared.py:1267–1272  ·  view source on GitHub ↗

Synchronize in-memory level/points from gamification data.

(self)

Source from the content-addressed store, hash-verified

1265 self.zombiesnbr = 0
1266 self.coinnbr = 0
1267 self.levelnbr = 0
1268 self.networkkbnbr = 0
1269 self.attacksnbr = 0
1270 self.vulnerable_host_count = 0
1271 self.gamification_data = {}
1272 self.points_per_level = 200
1273 self.points_per_mac = 15
1274 self.points_per_credential = 25
1275 self.points_per_data_file = 10

Callers 3

update_statsMethod · 0.95

Calls 2

calculate_levelMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected