X-Git-Url: https://git.ayoreis.com/rushbound.git/blobdiff_plain/1b5cabd4c4713f767e274ace122d71c0dfbc7700..251bbce67c7b110e3f6df974ec01ed445b5bba6a:/addons/godot_super-wakatime/heartbeat.gd diff --git a/addons/godot_super-wakatime/heartbeat.gd b/addons/godot_super-wakatime/heartbeat.gd new file mode 100644 index 0000000..bd232ab --- /dev/null +++ b/addons/godot_super-wakatime/heartbeat.gd @@ -0,0 +1,22 @@ +const FILE_MODIFIED_DELAY = 120 + +var file_path +var scene_path +var entity +var type +var category +var time +var is_write +var cursorpos +var lines +var line_no +var line_additions +var line_deletions +var language +var project + +func _init(file_path: String = '', time: int = 0, is_write: bool = false): + self.file_path = file_path + self.time = time + self.is_write = is_write + self.scene_path = scene_path