More or less standardised separator comments in the code

This commit is contained in:
Maruno17
2024-06-27 21:21:26 +01:00
parent 225549bfce
commit 509a414f37
198 changed files with 1907 additions and 1263 deletions

View File

@@ -1,3 +1,6 @@
#===============================================================================
#
#===============================================================================
module GameData
class PlayerMetadata
attr_reader :id
@@ -8,7 +11,6 @@ module GameData
DATA = {}
DATA_FILENAME = "player_metadata.dat"
SCHEMA = {
"SectionName" => [:id, "u"],
"TrainerType" => [:trainer_type, "e", :TrainerType],
@@ -48,6 +50,8 @@ module GameData
return self::DATA[1]
end
#---------------------------------------------------------------------------
def initialize(hash)
@id = hash[:id]
@trainer_type = hash[:trainer_type]