Explorar o código

added events dump

ncannasse %!s(int64=10) %!d(string=hai) anos
pai
achega
c3920f80a0
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      hxd/fmt/hmd/Dump.hx

+ 10 - 0
hxd/fmt/hmd/Dump.hx

@@ -135,6 +135,16 @@ class Dump {
 					}
 				add('${o.name} : ${flags.join(",")}');
 			}
+			prefix = prefix.substr(1);
+
+			if( a.events != null ) {
+				add('Events : ');
+				prefix += "\t";
+				for( e in a.events )
+					add('${e.frame} : ${e.data}');
+				prefix = prefix.substr(1);
+			}
+
 			prefix = "";
 		}