-GDScript support for accessing properties directly
-Added code lookup and code completion support for properties too
This commit is contained in:
@@ -580,6 +580,28 @@ static void _disassemble_class(const Ref<GDScript>& p_class,const Vector<String>
|
||||
txt+="\"]";
|
||||
incr+=4;
|
||||
|
||||
} break;
|
||||
case GDFunction::OPCODE_SET_MEMBER: {
|
||||
|
||||
txt+=" set_member ";
|
||||
txt+="[\"";
|
||||
txt+=func.get_global_name(code[ip+1]);
|
||||
txt+="\"]=";
|
||||
txt+=DADDR(2);
|
||||
incr+=3;
|
||||
|
||||
|
||||
} break;
|
||||
case GDFunction::OPCODE_GET_MEMBER: {
|
||||
|
||||
txt+=" get_member ";
|
||||
txt+=DADDR(2);
|
||||
txt+="=";
|
||||
txt+="[\"";
|
||||
txt+=func.get_global_name(code[ip+1]);
|
||||
txt+="\"]";
|
||||
incr+=3;
|
||||
|
||||
} break;
|
||||
case GDFunction::OPCODE_ASSIGN: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user