mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Change "ID" to lowercase "id"
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
This commit is contained in:
parent
84058ab8ac
commit
702b539405
24 changed files with 130 additions and 130 deletions
|
@ -58,7 +58,7 @@ Error MessageQueue::push_call(ObjectID p_id, const StringName &p_method, const V
|
|||
|
||||
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
||||
msg->args = p_argcount;
|
||||
msg->instance_ID = p_id;
|
||||
msg->instance_id = p_id;
|
||||
msg->target = p_method;
|
||||
msg->type = TYPE_CALL;
|
||||
if (p_show_error)
|
||||
|
@ -109,7 +109,7 @@ Error MessageQueue::push_set(ObjectID p_id, const StringName &p_prop, const Vari
|
|||
|
||||
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
||||
msg->args = 1;
|
||||
msg->instance_ID = p_id;
|
||||
msg->instance_id = p_id;
|
||||
msg->target = p_prop;
|
||||
msg->type = TYPE_SET;
|
||||
|
||||
|
@ -143,7 +143,7 @@ Error MessageQueue::push_notification(ObjectID p_id, int p_notification) {
|
|||
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
||||
|
||||
msg->type = TYPE_NOTIFICATION;
|
||||
msg->instance_ID = p_id;
|
||||
msg->instance_id = p_id;
|
||||
//msg->target;
|
||||
msg->notification = p_notification;
|
||||
|
||||
|
@ -177,7 +177,7 @@ void MessageQueue::statistics() {
|
|||
while (read_pos < buffer_end) {
|
||||
Message *message = (Message *)&buffer[read_pos];
|
||||
|
||||
Object *target = ObjectDB::get_instance(message->instance_ID);
|
||||
Object *target = ObjectDB::get_instance(message->instance_id);
|
||||
|
||||
if (target != NULL) {
|
||||
|
||||
|
@ -289,7 +289,7 @@ void MessageQueue::flush() {
|
|||
|
||||
_THREAD_SAFE_UNLOCK_
|
||||
|
||||
Object *target = ObjectDB::get_instance(message->instance_ID);
|
||||
Object *target = ObjectDB::get_instance(message->instance_id);
|
||||
|
||||
if (target != NULL) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue