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

Method write_data

shared.py:1949–1958  ·  view source on GitHub ↗

DEPRECATED: CSV write operations no longer supported. All data is now stored in SQLite database. Use db.upsert_host() to write host data. This method is kept for backward compatibility but does nothing.

(self, data)

Source from the content-addressed store, hash-verified

1947 else:
1948 for status, images in self.image_series.items():
1949 logger.info(f"Loaded {len(images)} images for status {status}.")
1950
1951
1952 """Calculate the position of the Ragnar image on the screen to center it"""
1953 if self.ragnar1 is not None:
1954 self.x_center1 = (self.width - self.ragnar1.width) // 2
1955 self.y_bottom1 = self.height - self.ragnar1.height
1956 else:
1957 logger.warning("ragnar1.bmp image not found, using default positioning")
1958 self.x_center1 = self.width // 2 # Center horizontally
1959 self.y_bottom1 = self.height - 20 # Default bottom position
1960
1961 # Female (shieldmaiden) character frames for mesh units named after

Callers 1

execute_manual_attackMethod · 0.80

Calls 2

warningMethod · 0.80
debugMethod · 0.80

Tested by

no test coverage detected