From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:ABC" |
|---|
| claim | "Trait flag byte: low 4 bits kind (0 Slot, 1 Method, 2 Getter, 3 Setter, 4 Class, 5 Function, 6 Const), 0x10 final, 0x20 override, 0x40 has metadata." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ABC" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "TraitKind" |
|---|
| underlying_type | "u8" |
|---|
| values | | Slot | 0 |
|---|
| Method | 1 |
|---|
| Getter | 2 |
|---|
| Setter | 3 |
|---|
| Class | 4 |
|---|
| Function | 5 |
|---|
| Const | 6 |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "read_trait" |
|---|
| repo | "https://github.com/ruffle-rs/ruffle" |
|---|
| commit | "74323048b31da253175faf7ad1f3b4c8ef13fd66" |
|---|
| path | "swf/src/avm2/read.rs" |
|---|
| lines | "348-405" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Trait kinds" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:36:10.480Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:47.078Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ruffle swf/src/avm2/read.rs read_trait at 7432304: flags & 0b1111 kinds 0-6 as listed, 0x10 final, 0x20 override, 0x40 metadata." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:25:01.519Z" |
|---|
| summary | "Read read.rs read_trait lines 353-384: kinds 0-6 map to Slot..Const, any other raises InvalidTraitKind; complete." |
|---|
| changed | |
|---|
|
|
|---|