aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/mappings.py
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-11-06 14:05:01 -0600
committerGitHub <noreply@github.com>2022-11-06 14:05:01 -0600
commitd112856ff6353592a50658b0ddd316f54dd97b87 (patch)
tree6c408ecab96012e3bffaf15843fad5b9b6817796 /codegen/lib/mappings.py
parent9bc517511663193f3166320db4cb5ca02701b039 (diff)
downloadazalea-drasl-d112856ff6353592a50658b0ddd316f54dd97b87.tar.xz
Entity metadata (#37)
* add example generated metadata.rs * metadata.rs codegen * add the files * add comment to top of metadata.rs * avoid clone * metadata * defaults * defaults * fix metadata readers and writers * fix bad bitmasks and ignore some clippy warnings in generated code * add set_index function to entity metadatas * applying metadata
Diffstat (limited to 'codegen/lib/mappings.py')
-rw-r--r--codegen/lib/mappings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/mappings.py b/codegen/lib/mappings.py
index 6cf6273f..7cbb863a 100644
--- a/codegen/lib/mappings.py
+++ b/codegen/lib/mappings.py
@@ -71,7 +71,7 @@ class Mappings:
return self.classes[obfuscated_class_name]
def get_method(self, obfuscated_class_name, obfuscated_method_name, obfuscated_signature):
- print(obfuscated_class_name, self.methods[obfuscated_class_name])
+ # print(obfuscated_class_name, self.methods[obfuscated_class_name])
return self.methods[obfuscated_class_name][f'{obfuscated_method_name}({obfuscated_signature})']
def get_field_type(self, obfuscated_class_name, obfuscated_field_name) -> str: