mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-20 17:14:44 +01:00
Standardized notification methods to have the "notification" prefix, instead of the "on", and changed the naming a bit. This makes them stand out inside the docs, and it's easier to get completions for them while using the api.
This commit is contained in:
parent
0a9d4d3c72
commit
2c47f9f550
@ -614,82 +614,82 @@ void Aura::son_remove_dispell(Ref<AuraData> aura) {
|
||||
call("_son_remove_dispell", aura);
|
||||
}
|
||||
|
||||
void Aura::son_death(Ref<AuraData> data) {
|
||||
if (has_method("_son_death"))
|
||||
call("_son_death", data);
|
||||
void Aura::notification_sdeath(Ref<AuraData> data) {
|
||||
if (has_method("_notification_sdeath"))
|
||||
call("_notification_sdeath", data);
|
||||
}
|
||||
|
||||
void Aura::son_cooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_son_cooldown_added"))
|
||||
call("_son_cooldown_added", data, cooldown);
|
||||
void Aura::notification_scooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_notification_scooldown_added"))
|
||||
call("_notification_scooldown_added", data, cooldown);
|
||||
}
|
||||
void Aura::son_cooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_son_cooldown_removed"))
|
||||
call("_son_cooldown_removed", data, cooldown);
|
||||
void Aura::notification_scooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_notification_scooldown_removed"))
|
||||
call("_notification_scooldown_removed", data, cooldown);
|
||||
}
|
||||
|
||||
void Aura::son_category_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_son_category_cooldown_added"))
|
||||
call("_son_category_cooldown_added", data, category_cooldown);
|
||||
void Aura::notification_scategory_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_notification_scategory_cooldown_added"))
|
||||
call("_notification_scategory_cooldown_added", data, category_cooldown);
|
||||
}
|
||||
void Aura::son_category_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_son_category_cooldown_removed"))
|
||||
call("_son_category_cooldown_removed", data, category_cooldown);
|
||||
void Aura::notification_scategory_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_notification_scategory_cooldown_removed"))
|
||||
call("_notification_scategory_cooldown_removed", data, category_cooldown);
|
||||
}
|
||||
|
||||
void Aura::son_gcd_started(Ref<AuraData> data, float gcd) {
|
||||
void Aura::notification_sgcd_started(Ref<AuraData> data, float gcd) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_son_gcd_started"))
|
||||
call("_son_gcd_started", data, gcd);
|
||||
if (has_method("_notification_sgcd_started"))
|
||||
call("_notification_sgcd_started", data, gcd);
|
||||
}
|
||||
void Aura::son_gcd_finished(Ref<AuraData> data) {
|
||||
void Aura::notification_sgcd_finished(Ref<AuraData> data) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_son_gcd_finished"))
|
||||
call("_son_gcd_finished", data);
|
||||
if (has_method("_notification_sgcd_finished"))
|
||||
call("_notification_sgcd_finished", data);
|
||||
}
|
||||
|
||||
void Aura::son_physics_process(Ref<AuraData> data) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_son_gcd_finished"))
|
||||
call("_son_gcd_finished", data);
|
||||
if (has_method("_notification_sgcd_finished"))
|
||||
call("_notification_sgcd_finished", data);
|
||||
}
|
||||
|
||||
void Aura::son_xp_gained(Ref<AuraData> data, int value) {
|
||||
void Aura::notification_sxp_gained(Ref<AuraData> data, int value) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_son_xp_gained"))
|
||||
call("_son_xp_gained", data, value);
|
||||
if (has_method("_notification_sxp_gained"))
|
||||
call("_notification_sxp_gained", data, value);
|
||||
}
|
||||
|
||||
void Aura::son_class_level_up(Ref<AuraData> data, int value) {
|
||||
void Aura::notification_sclass_level_up(Ref<AuraData> data, int value) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_son_class_level_up"))
|
||||
call("_son_class_level_up", data, value);
|
||||
if (has_method("_notification_sclass_level_up"))
|
||||
call("_notification_sclass_level_up", data, value);
|
||||
}
|
||||
|
||||
void Aura::son_character_level_up(Ref<AuraData> data, int value) {
|
||||
void Aura::notification_scharacter_level_up(Ref<AuraData> data, int value) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_son_character_level_up"))
|
||||
call("_son_character_level_up", data, value);
|
||||
if (has_method("_notification_scharacter_level_up"))
|
||||
call("_notification_scharacter_level_up", data, value);
|
||||
}
|
||||
void Aura::son_entity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
void Aura::notification_sentity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
ERR_FAIL_COND(!resource.is_valid());
|
||||
|
||||
if (has_method("_son_entity_resource_added"))
|
||||
call("_son_entity_resource_added", data, resource);
|
||||
if (has_method("_notification_sentity_resource_added"))
|
||||
call("_notification_sentity_resource_added", data, resource);
|
||||
}
|
||||
void Aura::son_entity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
void Aura::notification_sentity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
ERR_FAIL_COND(!resource.is_valid());
|
||||
|
||||
if (has_method("_son_entity_resource_removed"))
|
||||
call("_son_entity_resource_removed", data, resource);
|
||||
if (has_method("_notification_sentity_resource_removed"))
|
||||
call("_notification_sentity_resource_removed", data, resource);
|
||||
}
|
||||
|
||||
void Aura::notification_caura(int what, Ref<AuraData> data) {
|
||||
@ -720,75 +720,75 @@ void Aura::notification_cdamage(int what, Ref<AuraData> aura, Ref<SpellDamageInf
|
||||
call("_notification_cdamage", what, aura, data);
|
||||
}
|
||||
|
||||
void Aura::con_death(Ref<AuraData> data) {
|
||||
if (has_method("_con_death"))
|
||||
call("_con_death", data);
|
||||
void Aura::notification_cdeath(Ref<AuraData> data) {
|
||||
if (has_method("_notification_cdeath"))
|
||||
call("_notification_cdeath", data);
|
||||
}
|
||||
|
||||
void Aura::con_cooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_con_cooldown_added"))
|
||||
call("_con_cooldown_added", data, cooldown);
|
||||
void Aura::notification_ccooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_notification_ccooldown_added"))
|
||||
call("_notification_ccooldown_added", data, cooldown);
|
||||
}
|
||||
void Aura::con_cooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_con_cooldown_removed"))
|
||||
call("_con_cooldown_removed", data, cooldown);
|
||||
void Aura::notification_ccooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown) {
|
||||
if (has_method("_notification_ccooldown_removed"))
|
||||
call("_notification_ccooldown_removed", data, cooldown);
|
||||
}
|
||||
void Aura::con_category_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_con_category_cooldown_added"))
|
||||
call("_con_category_cooldown_added", data, category_cooldown);
|
||||
void Aura::notification_ccategory_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_notification_ccategory_cooldown_added"))
|
||||
call("_notification_ccategory_cooldown_added", data, category_cooldown);
|
||||
}
|
||||
void Aura::con_category_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_con_category_cooldown_removed"))
|
||||
call("_con_category_cooldown_removed", data, category_cooldown);
|
||||
void Aura::notification_ccategory_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_notification_ccategory_cooldown_removed"))
|
||||
call("_notification_ccategory_cooldown_removed", data, category_cooldown);
|
||||
}
|
||||
|
||||
void Aura::con_gcd_started(Ref<AuraData> data, float gcd) {
|
||||
void Aura::notification_cgcd_started(Ref<AuraData> data, float gcd) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_con_gcd_started"))
|
||||
call("_con_gcd_started", data, gcd);
|
||||
if (has_method("_notification_cgcd_started"))
|
||||
call("_notification_cgcd_started", data, gcd);
|
||||
}
|
||||
void Aura::con_gcd_finished(Ref<AuraData> data) {
|
||||
void Aura::notification_cgcd_finished(Ref<AuraData> data) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_con_gcd_finished"))
|
||||
call("_con_gcd_finished", data);
|
||||
if (has_method("_notification_cgcd_finished"))
|
||||
call("_notification_cgcd_finished", data);
|
||||
}
|
||||
|
||||
void Aura::con_xp_gained(Ref<AuraData> data, int value) {
|
||||
void Aura::notification_cxp_gained(Ref<AuraData> data, int value) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_con_xp_gained"))
|
||||
call("_con_xp_gained", data, value);
|
||||
if (has_method("_notification_cxp_gained"))
|
||||
call("_notification_cxp_gained", data, value);
|
||||
}
|
||||
|
||||
void Aura::con_class_level_up(Ref<AuraData> data, int value) {
|
||||
void Aura::notification_cclass_level_up(Ref<AuraData> data, int value) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_con_class_level_up"))
|
||||
call("_con_class_level_up", data, value);
|
||||
if (has_method("_notification_cclass_level_up"))
|
||||
call("_notification_cclass_level_up", data, value);
|
||||
}
|
||||
|
||||
void Aura::con_character_level_up(Ref<AuraData> data, int value) {
|
||||
void Aura::notification_ccharacter_level_up(Ref<AuraData> data, int value) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
|
||||
if (has_method("_con_character_level_up"))
|
||||
call("_con_character_level_up", data, value);
|
||||
if (has_method("_notification_ccharacter_level_up"))
|
||||
call("_notification_ccharacter_level_up", data, value);
|
||||
}
|
||||
|
||||
void Aura::con_entity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
void Aura::notification_centity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
ERR_FAIL_COND(!resource.is_valid());
|
||||
|
||||
if (has_method("_con_entity_resource_added"))
|
||||
call("_con_entity_resource_added", data, resource);
|
||||
if (has_method("_notification_centity_resource_added"))
|
||||
call("_notification_centity_resource_added", data, resource);
|
||||
}
|
||||
void Aura::con_entity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
void Aura::notification_centity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource) {
|
||||
ERR_FAIL_COND(!data.is_valid());
|
||||
ERR_FAIL_COND(!resource.is_valid());
|
||||
|
||||
if (has_method("_con_entity_resource_removed"))
|
||||
call("_con_entity_resource_removed", data, resource);
|
||||
if (has_method("_notification_centity_resource_removed"))
|
||||
call("_notification_centity_resource_removed", data, resource);
|
||||
}
|
||||
|
||||
//Equipment
|
||||
@ -1237,48 +1237,48 @@ void Aura::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("son_remove_expired", "aura"), &Aura::son_remove_expired);
|
||||
ClassDB::bind_method(D_METHOD("son_remove_dispell", "aura"), &Aura::son_remove_dispell);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_death", "data"), &Aura::son_death);
|
||||
ClassDB::bind_method(D_METHOD("notification_sdeath", "data"), &Aura::notification_sdeath);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_cooldown_added", "data", "cooldown"), &Aura::son_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("son_cooldown_removed", "data", "cooldown"), &Aura::son_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_added", "data", "cooldown"), &Aura::notification_scooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_removed", "data", "cooldown"), &Aura::notification_scooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_category_cooldown_added", "data", "category_cooldown"), &Aura::son_category_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("son_category_cooldown_removed", "data", "category_cooldown"), &Aura::son_category_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_added", "data", "category_cooldown"), &Aura::notification_scategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_removed", "data", "category_cooldown"), &Aura::notification_scategory_cooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_gcd_started", "data", "gcd"), &Aura::son_gcd_started);
|
||||
ClassDB::bind_method(D_METHOD("son_gcd_finished", "data"), &Aura::son_gcd_finished);
|
||||
ClassDB::bind_method(D_METHOD("notification_sgcd_started", "data", "gcd"), &Aura::notification_sgcd_started);
|
||||
ClassDB::bind_method(D_METHOD("notification_sgcd_finished", "data"), &Aura::notification_sgcd_finished);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_physics_process", "data"), &Aura::son_physics_process);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_xp_gained", "data", "value"), &Aura::son_xp_gained);
|
||||
ClassDB::bind_method(D_METHOD("son_class_level_up", "data", "value"), &Aura::son_class_level_up);
|
||||
ClassDB::bind_method(D_METHOD("son_character_level_up", "data", "value"), &Aura::son_character_level_up);
|
||||
ClassDB::bind_method(D_METHOD("notification_sxp_gained", "data", "value"), &Aura::notification_sxp_gained);
|
||||
ClassDB::bind_method(D_METHOD("notification_sclass_level_up", "data", "value"), &Aura::notification_sclass_level_up);
|
||||
ClassDB::bind_method(D_METHOD("notification_scharacter_level_up", "data", "value"), &Aura::notification_scharacter_level_up);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_entity_resource_added", "data", "value"), &Aura::son_entity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("son_entity_resource_removed", "data", "value"), &Aura::son_entity_resource_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_added", "data", "value"), &Aura::notification_sentity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_removed", "data", "value"), &Aura::notification_sentity_resource_removed);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_remove", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_son_remove_expired", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_son_remove_dispell", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_death", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sdeath", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_cooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_cooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_category_cooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_category_cooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scategory_cooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scategory_cooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_gcd_started", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_son_gcd_finished", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sgcd_started", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sgcd_finished", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_physics_process", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_xp_gained", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_class_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_character_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sxp_gained", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sclass_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scharacter_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_entity_resource_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_entity_resource_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sentity_resource_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sentity_resource_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
//Clientside Event Handlers
|
||||
BIND_VMETHOD(MethodInfo("_notification_caura", PropertyInfo(Variant::INT, "what"), PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
@ -1291,22 +1291,22 @@ void Aura::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_ccast", "what", "aura", "info"), &Aura::notification_ccast);
|
||||
ClassDB::bind_method(D_METHOD("notification_cdamage", "what", "aura", "info"), &Aura::notification_cdamage);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_death", "data"), &Aura::con_death);
|
||||
ClassDB::bind_method(D_METHOD("notification_cdeath", "data"), &Aura::notification_cdeath);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_cooldown_added", "data", "info"), &Aura::con_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("con_cooldown_removed", "data", "info"), &Aura::con_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("con_category_cooldown_added", "data", "info"), &Aura::con_category_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("con_category_cooldown_removed", "data", "info"), &Aura::con_category_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_added", "data", "info"), &Aura::notification_ccooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_removed", "data", "info"), &Aura::notification_ccooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_added", "data", "info"), &Aura::notification_ccategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_removed", "data", "info"), &Aura::notification_ccategory_cooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_gcd_started", "data", "info"), &Aura::con_gcd_started);
|
||||
ClassDB::bind_method(D_METHOD("con_gcd_finished", "data"), &Aura::con_gcd_finished);
|
||||
ClassDB::bind_method(D_METHOD("notification_cgcd_started", "data", "info"), &Aura::notification_cgcd_started);
|
||||
ClassDB::bind_method(D_METHOD("notification_cgcd_finished", "data"), &Aura::notification_cgcd_finished);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_xp_gained", "data", "value"), &Aura::con_xp_gained);
|
||||
ClassDB::bind_method(D_METHOD("con_class_level_up", "data", "value"), &Aura::con_class_level_up);
|
||||
ClassDB::bind_method(D_METHOD("con_character_level_up", "data", "value"), &Aura::con_character_level_up);
|
||||
ClassDB::bind_method(D_METHOD("notification_cxp_gained", "data", "value"), &Aura::notification_cxp_gained);
|
||||
ClassDB::bind_method(D_METHOD("notification_cclass_level_up", "data", "value"), &Aura::notification_cclass_level_up);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccharacter_level_up", "data", "value"), &Aura::notification_ccharacter_level_up);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_entity_resource_added", "data", "value"), &Aura::con_entity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("con_entity_resource_removed", "data", "value"), &Aura::con_entity_resource_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_added", "data", "value"), &Aura::notification_centity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_removed", "data", "value"), &Aura::notification_centity_resource_removed);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_cast_failed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellCastInfo")));
|
||||
BIND_VMETHOD(MethodInfo("_con_cast_started", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellCastInfo")));
|
||||
@ -1314,12 +1314,12 @@ void Aura::_bind_methods() {
|
||||
BIND_VMETHOD(MethodInfo("_con_cast_finished", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellCastInfo")));
|
||||
BIND_VMETHOD(MethodInfo("_con_spell_cast_success", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellCastInfo")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_death", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cdeath", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_cooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_con_cooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_con_category_cooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_con_category_cooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccategory_cooldown_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccategory_cooldown_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_aura_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_con_aura_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
@ -1330,15 +1330,15 @@ void Aura::_bind_methods() {
|
||||
BIND_VMETHOD(MethodInfo("_con_heal_dealt", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellHealInfo")));
|
||||
BIND_VMETHOD(MethodInfo("_con_dealt_heal", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellHealInfo")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_gcd_started", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_con_gcd_finished", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cgcd_started", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cgcd_finished", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_xp_gained", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_class_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_character_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cxp_gained", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cclass_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccharacter_level_up", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_entity_resource_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_entity_resource_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_centity_resource_added", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_centity_resource_removed", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
//Equipment
|
||||
|
||||
|
@ -261,25 +261,25 @@ public:
|
||||
void son_remove_expired(Ref<AuraData> aura);
|
||||
void son_remove_dispell(Ref<AuraData> aura);
|
||||
|
||||
void son_death(Ref<AuraData> data);
|
||||
void notification_sdeath(Ref<AuraData> data);
|
||||
|
||||
void son_cooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void son_cooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
|
||||
void son_category_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
void son_category_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void son_gcd_started(Ref<AuraData> data, float gcd);
|
||||
void son_gcd_finished(Ref<AuraData> data);
|
||||
void notification_sgcd_started(Ref<AuraData> data, float gcd);
|
||||
void notification_sgcd_finished(Ref<AuraData> data);
|
||||
|
||||
void son_physics_process(Ref<AuraData> data);
|
||||
|
||||
void son_xp_gained(Ref<AuraData> data, int value);
|
||||
void son_class_level_up(Ref<AuraData> data, int value);
|
||||
void son_character_level_up(Ref<AuraData> data, int value);
|
||||
void notification_sxp_gained(Ref<AuraData> data, int value);
|
||||
void notification_sclass_level_up(Ref<AuraData> data, int value);
|
||||
void notification_scharacter_level_up(Ref<AuraData> data, int value);
|
||||
|
||||
void son_entity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
void son_entity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
|
||||
//Clientside Event Handlers
|
||||
void notification_caura(int what, Ref<AuraData> data);
|
||||
@ -287,22 +287,22 @@ public:
|
||||
void notification_ccast(int what, Ref<AuraData> aura, Ref<SpellCastInfo> info);
|
||||
void notification_cdamage(int what, Ref<AuraData> aura, Ref<SpellDamageInfo> data);
|
||||
|
||||
void con_death(Ref<AuraData> data);
|
||||
void notification_cdeath(Ref<AuraData> data);
|
||||
|
||||
void con_cooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void con_cooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void con_category_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
void con_category_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccooldown_added(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void notification_ccooldown_removed(Ref<AuraData> data, Ref<Cooldown> cooldown);
|
||||
void notification_ccategory_cooldown_added(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccategory_cooldown_removed(Ref<AuraData> data, Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void con_gcd_started(Ref<AuraData> data, float gcd);
|
||||
void con_gcd_finished(Ref<AuraData> data);
|
||||
void notification_cgcd_started(Ref<AuraData> data, float gcd);
|
||||
void notification_cgcd_finished(Ref<AuraData> data);
|
||||
|
||||
void con_xp_gained(Ref<AuraData> data, int value);
|
||||
void con_class_level_up(Ref<AuraData> data, int value);
|
||||
void con_character_level_up(Ref<AuraData> data, int value);
|
||||
void notification_cxp_gained(Ref<AuraData> data, int value);
|
||||
void notification_cclass_level_up(Ref<AuraData> data, int value);
|
||||
void notification_ccharacter_level_up(Ref<AuraData> data, int value);
|
||||
|
||||
void con_entity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
void con_entity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
void notification_centity_resource_added(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
void notification_centity_resource_removed(Ref<AuraData> data, Ref<EntityResource> resource);
|
||||
|
||||
//Equipment
|
||||
bool equip_should_deny(Ref<AuraData> data, ItemEnums::EquipSlots equip_slot, Ref<ItemInstance> item);
|
||||
|
@ -101,7 +101,7 @@
|
||||
Called clientside when an [Entity]'s cast state changes. Not yet used.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_ccategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -112,7 +112,7 @@
|
||||
Called clientside when an [Entity] receives a [CategoryCooldown].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_ccategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -123,7 +123,7 @@
|
||||
Called clientside when an [Entity]'s [CategoryCooldown] is removed / expires.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_ccharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -133,7 +133,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_cclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -143,7 +143,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_ccooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -154,7 +154,7 @@
|
||||
Called clientside when an [Entity] receives a [Cooldown].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_ccooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -198,7 +198,7 @@
|
||||
Called clientside for an [Entity] who deals heal.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_death" qualifiers="virtual">
|
||||
<method name="_notification_cdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -207,7 +207,7 @@
|
||||
Called clientside for an [Entity] who dies.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -217,7 +217,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -261,7 +261,7 @@
|
||||
Called clientside for an [Entity] when equipping an item succeeds.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -270,7 +270,7 @@
|
||||
Called clientside for an [Entity] when a global cooldown finishes.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -303,7 +303,7 @@
|
||||
Called clientside for an [Entity] whos spell cast succeeds.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_cxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -576,7 +576,7 @@
|
||||
Called serverside when the [Entity]'s cast this [Aura] is on starts.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_scategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -587,7 +587,7 @@
|
||||
Called serverside when the [Entity] this [Aura] is on receives a [CategoryCooldown].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_scategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -598,7 +598,7 @@
|
||||
Called serverside when a [CategoryCooldown] of the [Entity] this [Aura] is on gets removed.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_scharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -608,7 +608,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_sclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -618,7 +618,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_scooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -629,7 +629,7 @@
|
||||
Called serverside when the [Entity] this [Aura] is on receives a [Cooldown].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_scooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -683,7 +683,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_death" qualifiers="virtual">
|
||||
<method name="_notification_sdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -691,7 +691,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -701,7 +701,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -743,7 +743,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -751,7 +751,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -833,7 +833,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_sxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -945,7 +945,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_added">
|
||||
<method name="notification_ccategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -955,7 +955,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_removed">
|
||||
<method name="notification_ccategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -965,7 +965,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_character_level_up">
|
||||
<method name="notification_ccharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -975,7 +975,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_class_level_up">
|
||||
<method name="notification_cclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -985,7 +985,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_added">
|
||||
<method name="notification_ccooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -995,7 +995,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_removed">
|
||||
<method name="notification_ccooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1035,7 +1035,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_death">
|
||||
<method name="notification_cdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1043,7 +1043,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_added">
|
||||
<method name="notification_centity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1053,7 +1053,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_removed">
|
||||
<method name="notification_centity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1095,7 +1095,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_finished">
|
||||
<method name="notification_cgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1103,7 +1103,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_started">
|
||||
<method name="notification_cgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1133,7 +1133,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_xp_gained">
|
||||
<method name="notification_cxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1553,7 +1553,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_category_cooldown_added">
|
||||
<method name="notification_scategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1563,7 +1563,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_category_cooldown_removed">
|
||||
<method name="notification_scategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1573,7 +1573,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_character_level_up">
|
||||
<method name="notification_scharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1583,7 +1583,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_class_level_up">
|
||||
<method name="notification_sclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1593,7 +1593,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_cooldown_added">
|
||||
<method name="notification_scooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1603,7 +1603,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_cooldown_removed">
|
||||
<method name="notification_scooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1653,7 +1653,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_death">
|
||||
<method name="notification_sdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1661,7 +1661,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_added">
|
||||
<method name="notification_sentity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1671,7 +1671,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_removed">
|
||||
<method name="notification_sentity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1713,7 +1713,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_finished">
|
||||
<method name="notification_sgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1721,7 +1721,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_started">
|
||||
<method name="notification_sgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
@ -1803,7 +1803,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_xp_gained">
|
||||
<method name="notification_sxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="AuraData">
|
||||
|
@ -106,7 +106,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_ccharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -114,7 +114,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_cclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -146,13 +146,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_death" qualifiers="virtual">
|
||||
<method name="_notification_cdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -160,7 +160,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -196,13 +196,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="gcd" type="float">
|
||||
@ -250,7 +250,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_cxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -288,25 +288,25 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_onc_mouse_enter" qualifiers="virtual">
|
||||
<method name="_notification_cmouse_enter" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_onc_mouse_exit" qualifiers="virtual">
|
||||
<method name="_notification_cmouse_exit" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_onc_targeted" qualifiers="virtual">
|
||||
<method name="_notification_ctargeted" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_onc_untargeted" qualifiers="virtual">
|
||||
<method name="_notification_cuntargeted" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
@ -466,7 +466,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_scharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -474,7 +474,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_sclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -514,13 +514,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_death" qualifiers="virtual">
|
||||
<method name="_notification_sdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -528,7 +528,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -564,13 +564,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="gcd" type="float">
|
||||
@ -634,7 +634,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_sxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -1286,7 +1286,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_added">
|
||||
<method name="notification_ccategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -1294,7 +1294,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="notification_ccategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -1302,7 +1302,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_removed">
|
||||
<method name="notification_ccategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -1310,7 +1310,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="notification_ccategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -1318,7 +1318,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_character_level_up">
|
||||
<method name="notification_ccharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -1326,7 +1326,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_class_level_up">
|
||||
<method name="notification_cclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -1334,7 +1334,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_added" qualifiers="virtual">
|
||||
<method name="notification_ccooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1342,7 +1342,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_added">
|
||||
<method name="notification_ccooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1350,7 +1350,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_removed" qualifiers="virtual">
|
||||
<method name="notification_ccooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1358,7 +1358,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_removed">
|
||||
<method name="notification_ccooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1390,13 +1390,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_death">
|
||||
<method name="notification_cdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_added">
|
||||
<method name="notification_centity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -1404,7 +1404,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_removed">
|
||||
<method name="notification_centity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -1440,13 +1440,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_finished">
|
||||
<method name="notification_cgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_started">
|
||||
<method name="notification_cgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
@ -1468,7 +1468,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_xp_gained">
|
||||
<method name="notification_cxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -2500,19 +2500,19 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="onc_mouse_enter">
|
||||
<method name="notification_cmouse_enter">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="onc_mouse_exit">
|
||||
<method name="notification_cmouse_exit">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="onc_stat_changed">
|
||||
<method name="notification_cstat_changed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="stat" type="Stat">
|
||||
@ -2520,19 +2520,19 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="onc_targeted">
|
||||
<method name="notification_ctargeted">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="onc_untargeted">
|
||||
<method name="notification_cuntargeted">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="item_ons_added">
|
||||
<method name="notification_item_sadded">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2544,7 +2544,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="item_ons_count_changed">
|
||||
<method name="notification_item_sscount_changed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2556,7 +2556,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="item_ons_removed">
|
||||
<method name="notification_item_sremoved">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2568,7 +2568,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="items_ons_swapped">
|
||||
<method name="notification_items_sswapped">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2580,7 +2580,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="ons_overburden_removed">
|
||||
<method name="notification_soverburden_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2588,7 +2588,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="ons_overburdened">
|
||||
<method name="notification_soverburdened">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2596,7 +2596,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="ons_stat_changed">
|
||||
<method name="notification_sstat_changed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="stat" type="Stat">
|
||||
@ -2604,7 +2604,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="target_item_ons_added">
|
||||
<method name="notification_target_item_sadded">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2616,7 +2616,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="target_item_ons_count_changed">
|
||||
<method name="notification_target_item_sscount_changed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2628,7 +2628,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="target_item_ons_removed">
|
||||
<method name="notification_target_item_sremoved">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -2640,7 +2640,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="target_items_ons_swapped">
|
||||
<method name="notification_target_items_sswapped">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="bag" type="Bag">
|
||||
@ -3394,7 +3394,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_character_level_up">
|
||||
<method name="notification_scharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -3402,7 +3402,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_class_level_up">
|
||||
<method name="notification_sclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -3442,13 +3442,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_death">
|
||||
<method name="notification_sdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_added">
|
||||
<method name="notification_sentity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -3456,7 +3456,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_removed">
|
||||
<method name="notification_sentity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -3492,13 +3492,13 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_finished">
|
||||
<method name="notification_sgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_started">
|
||||
<method name="notification_sgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
@ -3536,7 +3536,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_xp_gained">
|
||||
<method name="notification_sxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
@ -3950,7 +3950,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="con_character_level_up">
|
||||
<signal name="notification_ccharacter_level_up">
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
@ -3966,7 +3966,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="con_class_level_up">
|
||||
<signal name="notification_cclass_level_up">
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
@ -4050,7 +4050,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="con_xp_gained">
|
||||
<signal name="notification_cxp_gained">
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
@ -4152,11 +4152,11 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="onc_mouse_entered">
|
||||
<signal name="notification_cmouse_entered">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="onc_mouse_exited">
|
||||
<signal name="notification_cmouse_exited">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
@ -4172,11 +4172,11 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="onc_targeted">
|
||||
<signal name="notification_ctargeted">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="onc_untargeted">
|
||||
<signal name="notification_cuntargeted">
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
@ -4338,7 +4338,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="son_character_level_up">
|
||||
<signal name="notification_scharacter_level_up">
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
@ -4354,7 +4354,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="son_class_level_up">
|
||||
<signal name="notification_sclass_level_up">
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
@ -4422,7 +4422,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="son_xp_gained">
|
||||
<signal name="notification_sxp_gained">
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
</argument>
|
||||
<argument index="1" name="value" type="int">
|
||||
|
@ -64,7 +64,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_ccategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -72,7 +72,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_ccategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -80,7 +80,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_ccharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -90,7 +90,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_cclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -100,7 +100,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_ccooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -108,7 +108,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_ccooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -116,7 +116,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_death" qualifiers="virtual">
|
||||
<method name="_notification_cdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Entity">
|
||||
@ -124,7 +124,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -132,7 +132,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -172,7 +172,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -180,7 +180,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -198,7 +198,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_cxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -330,7 +330,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_scategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -338,7 +338,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_scategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -346,7 +346,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_scharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -356,7 +356,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_sclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -366,7 +366,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_scooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -374,7 +374,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_scooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -414,7 +414,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_death" qualifiers="virtual">
|
||||
<method name="_notification_sdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Entity">
|
||||
@ -422,7 +422,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -430,7 +430,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -470,7 +470,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -478,7 +478,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -520,7 +520,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_sxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -586,7 +586,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_added">
|
||||
<method name="notification_ccategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="CategoryCooldown">
|
||||
@ -594,7 +594,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_removed">
|
||||
<method name="notification_ccategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="CategoryCooldown">
|
||||
@ -602,7 +602,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_character_level_up">
|
||||
<method name="notification_ccharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -612,7 +612,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_class_level_up">
|
||||
<method name="notification_cclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -622,7 +622,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_added">
|
||||
<method name="notification_ccooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -630,7 +630,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_removed">
|
||||
<method name="notification_ccooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -638,7 +638,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_death">
|
||||
<method name="notification_cdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Node">
|
||||
@ -646,7 +646,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_added">
|
||||
<method name="notification_centity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -654,7 +654,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_removed">
|
||||
<method name="notification_centity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -694,7 +694,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_finished">
|
||||
<method name="notification_cgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -702,7 +702,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_started">
|
||||
<method name="notification_cgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -720,7 +720,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_xp_gained">
|
||||
<method name="notification_cxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1036,7 +1036,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_category_cooldown_added">
|
||||
<method name="notification_scategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -1044,7 +1044,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_category_cooldown_removed">
|
||||
<method name="notification_scategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -1052,7 +1052,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_character_level_up">
|
||||
<method name="notification_scharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1062,7 +1062,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_class_level_up">
|
||||
<method name="notification_sclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1072,7 +1072,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_cooldown_added">
|
||||
<method name="notification_scooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1080,7 +1080,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_cooldown_removed">
|
||||
<method name="notification_scooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1120,7 +1120,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_death">
|
||||
<method name="notification_sdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Node">
|
||||
@ -1128,7 +1128,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_added">
|
||||
<method name="notification_sentity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -1136,7 +1136,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_removed">
|
||||
<method name="notification_sentity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -1176,7 +1176,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_finished">
|
||||
<method name="notification_sgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1184,7 +1184,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_started">
|
||||
<method name="notification_sgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1226,7 +1226,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_xp_gained">
|
||||
<method name="notification_sxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
|
@ -72,7 +72,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_ccategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -80,7 +80,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_ccategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -88,7 +88,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_ccharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -98,7 +98,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_cclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -108,7 +108,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_ccooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -116,7 +116,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_ccooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -124,7 +124,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_death" qualifiers="virtual">
|
||||
<method name="_notification_cdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Entity">
|
||||
@ -132,7 +132,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -140,7 +140,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_centity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -180,7 +180,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -188,7 +188,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_cgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -206,7 +206,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_con_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_cxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -384,7 +384,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_category_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_scategory_cooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -392,7 +392,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_category_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_scategory_cooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -400,7 +400,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_character_level_up" qualifiers="virtual">
|
||||
<method name="_notification_scharacter_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -410,7 +410,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_class_level_up" qualifiers="virtual">
|
||||
<method name="_notification_sclass_level_up" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -420,7 +420,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_cooldown_added" qualifiers="virtual">
|
||||
<method name="_notification_scooldown_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -428,7 +428,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_cooldown_removed" qualifiers="virtual">
|
||||
<method name="_notification_scooldown_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -468,7 +468,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_death" qualifiers="virtual">
|
||||
<method name="_notification_sdeath" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Entity">
|
||||
@ -476,7 +476,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_added" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -484,7 +484,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_entity_resource_removed" qualifiers="virtual">
|
||||
<method name="_notification_sentity_resource_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -524,7 +524,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_finished" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_finished" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -532,7 +532,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_gcd_started" qualifiers="virtual">
|
||||
<method name="_notification_sgcd_started" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -574,7 +574,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_son_xp_gained" qualifiers="virtual">
|
||||
<method name="_notification_sxp_gained" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Entity">
|
||||
@ -648,7 +648,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_added">
|
||||
<method name="notification_ccategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="CategoryCooldown">
|
||||
@ -656,7 +656,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_category_cooldown_removed">
|
||||
<method name="notification_ccategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="CategoryCooldown">
|
||||
@ -664,7 +664,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_character_level_up">
|
||||
<method name="notification_ccharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -674,7 +674,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_class_level_up">
|
||||
<method name="notification_cclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -684,7 +684,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_added">
|
||||
<method name="notification_ccooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -692,7 +692,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_cooldown_removed">
|
||||
<method name="notification_ccooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -700,7 +700,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_death">
|
||||
<method name="notification_cdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Node">
|
||||
@ -708,7 +708,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_added">
|
||||
<method name="notification_centity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -716,7 +716,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_entity_resource_removed">
|
||||
<method name="notification_centity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -756,7 +756,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_finished">
|
||||
<method name="notification_cgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -764,7 +764,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_gcd_started">
|
||||
<method name="notification_cgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -782,7 +782,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="con_xp_gained">
|
||||
<method name="notification_cxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -944,7 +944,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_category_cooldown_added">
|
||||
<method name="notification_scategory_cooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -952,7 +952,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_category_cooldown_removed">
|
||||
<method name="notification_scategory_cooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="category_cooldown" type="CategoryCooldown">
|
||||
@ -960,7 +960,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_character_level_up">
|
||||
<method name="notification_scharacter_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -970,7 +970,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_class_level_up">
|
||||
<method name="notification_sclass_level_up">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -980,7 +980,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_cooldown_added">
|
||||
<method name="notification_scooldown_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -988,7 +988,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_cooldown_removed">
|
||||
<method name="notification_scooldown_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="cooldown" type="Cooldown">
|
||||
@ -1028,7 +1028,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_death">
|
||||
<method name="notification_sdeath">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="data" type="Node">
|
||||
@ -1036,7 +1036,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_added">
|
||||
<method name="notification_sentity_resource_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -1044,7 +1044,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_entity_resource_removed">
|
||||
<method name="notification_sentity_resource_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="resource" type="EntityResource">
|
||||
@ -1084,7 +1084,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_finished">
|
||||
<method name="notification_sgcd_finished">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1092,7 +1092,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_gcd_started">
|
||||
<method name="notification_sgcd_started">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
@ -1134,7 +1134,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="son_xp_gained">
|
||||
<method name="notification_sxp_gained">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="entity" type="Node">
|
||||
|
@ -30,7 +30,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_onc_stat_changed" qualifiers="virtual">
|
||||
<method name="_notification_cstat_changed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="stat" type="Stat">
|
||||
@ -56,7 +56,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_ons_stat_changed" qualifiers="virtual">
|
||||
<method name="_notification_sstat_changed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="stat" type="Stat">
|
||||
|
@ -461,71 +461,71 @@ void EntityClassData::notification_sdamage(int what, Ref<SpellDamageInfo> info)
|
||||
call("_notification_sdamage", what, info);
|
||||
}
|
||||
|
||||
void EntityClassData::son_death(Entity *entity) {
|
||||
if (has_method("_son_death"))
|
||||
call("_son_death", entity);
|
||||
void EntityClassData::notification_sdeath(Entity *entity) {
|
||||
if (has_method("_notification_sdeath"))
|
||||
call("_notification_sdeath", entity);
|
||||
}
|
||||
|
||||
void EntityClassData::son_death_bind(Node *entity) {
|
||||
void EntityClassData::notification_sdeath_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_death(e);
|
||||
notification_sdeath(e);
|
||||
}
|
||||
|
||||
void EntityClassData::son_cooldown_added(Ref<Cooldown> cooldown) {
|
||||
if (has_method("_son_cooldown_added"))
|
||||
call("_son_cooldown_added", cooldown);
|
||||
void EntityClassData::notification_scooldown_added(Ref<Cooldown> cooldown) {
|
||||
if (has_method("_notification_scooldown_added"))
|
||||
call("_notification_scooldown_added", cooldown);
|
||||
}
|
||||
void EntityClassData::son_cooldown_removed(Ref<Cooldown> cooldown) {
|
||||
if (has_method("_son_cooldown_removed"))
|
||||
call("_son_cooldown_removed", cooldown);
|
||||
void EntityClassData::notification_scooldown_removed(Ref<Cooldown> cooldown) {
|
||||
if (has_method("_notification_scooldown_removed"))
|
||||
call("_notification_scooldown_removed", cooldown);
|
||||
}
|
||||
|
||||
void EntityClassData::son_category_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_son_category_cooldown_added"))
|
||||
call("_son_category_cooldown_added", category_cooldown);
|
||||
void EntityClassData::notification_scategory_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_notification_scategory_cooldown_added"))
|
||||
call("_notification_scategory_cooldown_added", category_cooldown);
|
||||
}
|
||||
void EntityClassData::son_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_son_category_cooldown_removed"))
|
||||
call("_son_category_cooldown_removed", category_cooldown);
|
||||
void EntityClassData::notification_scategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
if (has_method("_notification_scategory_cooldown_removed"))
|
||||
call("_notification_scategory_cooldown_removed", category_cooldown);
|
||||
}
|
||||
|
||||
void EntityClassData::son_gcd_started(Entity *entity, float gcd) {
|
||||
if (has_method("_son_gcd_started"))
|
||||
call("_son_gcd_started", entity, gcd);
|
||||
void EntityClassData::notification_sgcd_started(Entity *entity, float gcd) {
|
||||
if (has_method("_notification_sgcd_started"))
|
||||
call("_notification_sgcd_started", entity, gcd);
|
||||
}
|
||||
void EntityClassData::son_gcd_finished(Entity *entity) {
|
||||
if (has_method("_son_gcd_finished"))
|
||||
call("_son_gcd_finished", entity);
|
||||
void EntityClassData::notification_sgcd_finished(Entity *entity) {
|
||||
if (has_method("_notification_sgcd_finished"))
|
||||
call("_notification_sgcd_finished", entity);
|
||||
}
|
||||
void EntityClassData::son_gcd_started_bind(Node *entity, float gcd) {
|
||||
void EntityClassData::notification_sgcd_started_bind(Node *entity, float gcd) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_gcd_started(e, gcd);
|
||||
notification_sgcd_started(e, gcd);
|
||||
}
|
||||
void EntityClassData::son_gcd_finished_bind(Node *entity) {
|
||||
void EntityClassData::notification_sgcd_finished_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_gcd_finished(e);
|
||||
notification_sgcd_finished(e);
|
||||
}
|
||||
|
||||
void EntityClassData::son_xp_gained(Entity *entity, int value) {
|
||||
if (has_method("_son_xp_gained"))
|
||||
call("_son_xp_gained", entity, value);
|
||||
void EntityClassData::notification_sxp_gained(Entity *entity, int value) {
|
||||
if (has_method("_notification_sxp_gained"))
|
||||
call("_notification_sxp_gained", entity, value);
|
||||
}
|
||||
void EntityClassData::son_xp_gained_bind(Node *entity, int value) {
|
||||
void EntityClassData::notification_sxp_gained_bind(Node *entity, int value) {
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
@ -537,14 +537,14 @@ void EntityClassData::son_xp_gained_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_xp_gained(e, value);
|
||||
notification_sxp_gained(e, value);
|
||||
}
|
||||
|
||||
void EntityClassData::son_class_level_up(Entity *entity, int value) {
|
||||
if (has_method("_son_class_level_up"))
|
||||
call("_son_class_level_up", entity);
|
||||
void EntityClassData::notification_sclass_level_up(Entity *entity, int value) {
|
||||
if (has_method("_notification_sclass_level_up"))
|
||||
call("_notification_sclass_level_up", entity);
|
||||
}
|
||||
void EntityClassData::son_class_level_up_bind(Node *entity, int value) {
|
||||
void EntityClassData::notification_sclass_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -555,14 +555,14 @@ void EntityClassData::son_class_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_class_level_up(e, value);
|
||||
notification_sclass_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityClassData::son_character_level_up(Entity *entity, int value) {
|
||||
if (has_method("_son_character_level_up"))
|
||||
call("_son_character_level_up", entity);
|
||||
void EntityClassData::notification_scharacter_level_up(Entity *entity, int value) {
|
||||
if (has_method("_notification_scharacter_level_up"))
|
||||
call("_notification_scharacter_level_up", entity);
|
||||
}
|
||||
void EntityClassData::son_character_level_up_bind(Node *entity, int value) {
|
||||
void EntityClassData::notification_scharacter_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -573,17 +573,17 @@ void EntityClassData::son_character_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_character_level_up(e, value);
|
||||
notification_scharacter_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityClassData::son_entity_resource_added(Ref<EntityResource> resource) {
|
||||
if (has_method("_son_entity_resource_added"))
|
||||
call("_son_entity_resource_added", resource);
|
||||
void EntityClassData::notification_sentity_resource_added(Ref<EntityResource> resource) {
|
||||
if (has_method("_notification_sentity_resource_added"))
|
||||
call("_notification_sentity_resource_added", resource);
|
||||
}
|
||||
|
||||
void EntityClassData::son_entity_resource_removed(Ref<EntityResource> resource) {
|
||||
if (has_method("_son_entity_resource_removed"))
|
||||
call("_son_entity_resource_removed", resource);
|
||||
void EntityClassData::notification_sentity_resource_removed(Ref<EntityResource> resource) {
|
||||
if (has_method("_notification_sentity_resource_removed"))
|
||||
call("_notification_sentity_resource_removed", resource);
|
||||
}
|
||||
|
||||
//Clientside Event Handlers
|
||||
@ -612,80 +612,80 @@ void EntityClassData::notification_cdamage(int what, Ref<SpellDamageInfo> info)
|
||||
call("_notification_cdamage", what, info);
|
||||
}
|
||||
|
||||
void EntityClassData::con_death(Entity *entity) {
|
||||
void EntityClassData::notification_cdeath(Entity *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
if (has_method("_con_death"))
|
||||
call("_con_death", entity);
|
||||
if (has_method("_notification_cdeath"))
|
||||
call("_notification_cdeath", entity);
|
||||
}
|
||||
|
||||
void EntityClassData::con_death_bind(Node *entity) {
|
||||
void EntityClassData::notification_cdeath_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_death(e);
|
||||
notification_cdeath(e);
|
||||
}
|
||||
|
||||
void EntityClassData::con_cooldown_added(Ref<Cooldown> cooldown) {
|
||||
void EntityClassData::notification_ccooldown_added(Ref<Cooldown> cooldown) {
|
||||
ERR_FAIL_COND(!cooldown.is_valid());
|
||||
|
||||
if (has_method("_con_cooldown_added"))
|
||||
call("_con_cooldown_added", cooldown);
|
||||
if (has_method("_notification_ccooldown_added"))
|
||||
call("_notification_ccooldown_added", cooldown);
|
||||
}
|
||||
void EntityClassData::con_cooldown_removed(Ref<Cooldown> cooldown) {
|
||||
void EntityClassData::notification_ccooldown_removed(Ref<Cooldown> cooldown) {
|
||||
ERR_FAIL_COND(!cooldown.is_valid());
|
||||
|
||||
if (has_method("_con_cooldown_removed"))
|
||||
call("_con_cooldown_removed", cooldown);
|
||||
if (has_method("_notification_ccooldown_removed"))
|
||||
call("_notification_ccooldown_removed", cooldown);
|
||||
}
|
||||
void EntityClassData::con_category_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
void EntityClassData::notification_ccategory_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
ERR_FAIL_COND(!category_cooldown.is_valid());
|
||||
|
||||
if (has_method("_con_category_cooldown_added"))
|
||||
call("_con_category_cooldown_added", category_cooldown);
|
||||
if (has_method("_notification_ccategory_cooldown_added"))
|
||||
call("_notification_ccategory_cooldown_added", category_cooldown);
|
||||
}
|
||||
void EntityClassData::con_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
void EntityClassData::notification_ccategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
ERR_FAIL_COND(!category_cooldown.is_valid());
|
||||
|
||||
if (has_method("_con_category_cooldown_removed"))
|
||||
call("_con_category_cooldown_removed", category_cooldown);
|
||||
if (has_method("_notification_ccategory_cooldown_removed"))
|
||||
call("_notification_ccategory_cooldown_removed", category_cooldown);
|
||||
}
|
||||
|
||||
void EntityClassData::con_gcd_started(Entity *entity, float gcd) {
|
||||
if (has_method("_con_gcd_started"))
|
||||
call("_con_gcd_started", entity, gcd);
|
||||
void EntityClassData::notification_cgcd_started(Entity *entity, float gcd) {
|
||||
if (has_method("_notification_cgcd_started"))
|
||||
call("_notification_cgcd_started", entity, gcd);
|
||||
}
|
||||
void EntityClassData::con_gcd_finished(Entity *entity) {
|
||||
if (has_method("_con_gcd_finished"))
|
||||
call("_con_gcd_finished", entity);
|
||||
void EntityClassData::notification_cgcd_finished(Entity *entity) {
|
||||
if (has_method("_notification_cgcd_finished"))
|
||||
call("_notification_cgcd_finished", entity);
|
||||
}
|
||||
void EntityClassData::con_gcd_started_bind(Node *entity, float gcd) {
|
||||
void EntityClassData::notification_cgcd_started_bind(Node *entity, float gcd) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_gcd_started(e, gcd);
|
||||
notification_cgcd_started(e, gcd);
|
||||
}
|
||||
void EntityClassData::con_gcd_finished_bind(Node *entity) {
|
||||
void EntityClassData::notification_cgcd_finished_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_gcd_finished(e);
|
||||
notification_cgcd_finished(e);
|
||||
}
|
||||
|
||||
void EntityClassData::con_xp_gained(Entity *entity, int value) {
|
||||
if (has_method("_con_xp_gained"))
|
||||
call("_con_xp_gained", entity, value);
|
||||
void EntityClassData::notification_cxp_gained(Entity *entity, int value) {
|
||||
if (has_method("_notification_cxp_gained"))
|
||||
call("_notification_cxp_gained", entity, value);
|
||||
}
|
||||
void EntityClassData::con_xp_gained_bind(Node *entity, int value) {
|
||||
void EntityClassData::notification_cxp_gained_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -696,14 +696,14 @@ void EntityClassData::con_xp_gained_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_xp_gained(e, value);
|
||||
notification_cxp_gained(e, value);
|
||||
}
|
||||
|
||||
void EntityClassData::con_class_level_up(Entity *entity, int value) {
|
||||
if (has_method("_con_class_level_up"))
|
||||
call("_con_class_level_up", entity);
|
||||
void EntityClassData::notification_cclass_level_up(Entity *entity, int value) {
|
||||
if (has_method("_notification_cclass_level_up"))
|
||||
call("_notification_cclass_level_up", entity);
|
||||
}
|
||||
void EntityClassData::con_class_level_up_bind(Node *entity, int value) {
|
||||
void EntityClassData::notification_cclass_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -714,14 +714,14 @@ void EntityClassData::con_class_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_class_level_up(e, value);
|
||||
notification_cclass_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityClassData::con_character_level_up(Entity *entity, int value) {
|
||||
if (has_method("_con_character_level_up"))
|
||||
call("_con_character_level_up", entity);
|
||||
void EntityClassData::notification_ccharacter_level_up(Entity *entity, int value) {
|
||||
if (has_method("_notification_ccharacter_level_up"))
|
||||
call("_notification_ccharacter_level_up", entity);
|
||||
}
|
||||
void EntityClassData::con_character_level_up_bind(Node *entity, int value) {
|
||||
void EntityClassData::notification_ccharacter_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -732,17 +732,17 @@ void EntityClassData::con_character_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_character_level_up(e, value);
|
||||
notification_ccharacter_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityClassData::con_entity_resource_added(Ref<EntityResource> resource) {
|
||||
if (has_method("_con_entity_resource_added"))
|
||||
call("_con_entity_resource_added", resource);
|
||||
void EntityClassData::notification_centity_resource_added(Ref<EntityResource> resource) {
|
||||
if (has_method("_notification_centity_resource_added"))
|
||||
call("_notification_centity_resource_added", resource);
|
||||
}
|
||||
|
||||
void EntityClassData::con_entity_resource_removed(Ref<EntityResource> resource) {
|
||||
if (has_method("_con_entity_resource_removed"))
|
||||
call("_con_entity_resource_removed", resource);
|
||||
void EntityClassData::notification_centity_resource_removed(Ref<EntityResource> resource) {
|
||||
if (has_method("_notification_centity_resource_removed"))
|
||||
call("_notification_centity_resource_removed", resource);
|
||||
}
|
||||
|
||||
//Equipment
|
||||
@ -875,73 +875,73 @@ void EntityClassData::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_ccast", "what", "info"), &EntityClassData::notification_ccast);
|
||||
ClassDB::bind_method(D_METHOD("notification_cdamage", "what", "info"), &EntityClassData::notification_cdamage);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_death", "data"), &EntityClassData::son_death_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sdeath", "data"), &EntityClassData::notification_sdeath_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_cooldown_added", "cooldown"), &EntityClassData::son_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("son_cooldown_removed", "cooldown"), &EntityClassData::son_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_added", "cooldown"), &EntityClassData::notification_scooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_removed", "cooldown"), &EntityClassData::notification_scooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_category_cooldown_added", "category_cooldown"), &EntityClassData::son_category_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("son_category_cooldown_removed", "category_cooldown"), &EntityClassData::son_category_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_added", "category_cooldown"), &EntityClassData::notification_scategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_removed", "category_cooldown"), &EntityClassData::notification_scategory_cooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_gcd_started", "entity", "gcd"), &EntityClassData::son_gcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("son_gcd_finished", "entity"), &EntityClassData::son_gcd_finished_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sgcd_started", "entity", "gcd"), &EntityClassData::notification_sgcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sgcd_finished", "entity"), &EntityClassData::notification_sgcd_finished_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_xp_gained", "entity", "value"), &EntityClassData::son_xp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("son_class_level_up", "entity", "value"), &EntityClassData::son_class_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("son_character_level_up", "entity", "value"), &EntityClassData::son_character_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sxp_gained", "entity", "value"), &EntityClassData::notification_sxp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sclass_level_up", "entity", "value"), &EntityClassData::notification_sclass_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_scharacter_level_up", "entity", "value"), &EntityClassData::notification_scharacter_level_up_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_entity_resource_added", "resource"), &EntityClassData::son_entity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("son_entity_resource_removed", "resource"), &EntityClassData::son_entity_resource_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_added", "resource"), &EntityClassData::notification_sentity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_removed", "resource"), &EntityClassData::notification_sentity_resource_removed);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_death", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sdeath", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_cooldown_added", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_cooldown_removed", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scooldown_added", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scooldown_removed", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_category_cooldown_added", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_category_cooldown_removed", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scategory_cooldown_added", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scategory_cooldown_removed", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_gcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_son_gcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sgcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sgcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_xp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_class_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_character_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sxp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sclass_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scharacter_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_entity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_son_entity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sentity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sentity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_entity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_con_entity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_centity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_centity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_setup_resources", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
//Clientside Event Handlers
|
||||
ClassDB::bind_method(D_METHOD("con_death", "data"), &EntityClassData::con_death_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cdeath", "data"), &EntityClassData::notification_cdeath_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_cooldown_added", "cooldown"), &EntityClassData::con_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("con_cooldown_removed", "cooldown"), &EntityClassData::con_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("con_category_cooldown_added", "cooldown"), &EntityClassData::con_category_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("con_category_cooldown_removed", "cooldown"), &EntityClassData::con_category_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_added", "cooldown"), &EntityClassData::notification_ccooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_removed", "cooldown"), &EntityClassData::notification_ccooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_added", "cooldown"), &EntityClassData::notification_ccategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_removed", "cooldown"), &EntityClassData::notification_ccategory_cooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_gcd_started", "entity", "gcd"), &EntityClassData::con_gcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("con_gcd_finished", "entity"), &EntityClassData::con_gcd_finished_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cgcd_started", "entity", "gcd"), &EntityClassData::notification_cgcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cgcd_finished", "entity"), &EntityClassData::notification_cgcd_finished_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_xp_gained", "entity", "value"), &EntityClassData::con_xp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("con_class_level_up", "entity", "value"), &EntityClassData::con_class_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("con_character_level_up", "entity", "value"), &EntityClassData::con_character_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cxp_gained", "entity", "value"), &EntityClassData::notification_cxp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cclass_level_up", "entity", "value"), &EntityClassData::notification_cclass_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccharacter_level_up", "entity", "value"), &EntityClassData::notification_ccharacter_level_up_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_entity_resource_added", "resource"), &EntityClassData::con_entity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("con_entity_resource_removed", "resource"), &EntityClassData::con_entity_resource_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_added", "resource"), &EntityClassData::notification_centity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_removed", "resource"), &EntityClassData::notification_centity_resource_removed);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_death", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cdeath", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_gcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_con_gcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cgcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cgcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_xp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_class_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_character_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cxp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cclass_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccharacter_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
//Equipment
|
||||
BIND_VMETHOD(MethodInfo(PropertyInfo(Variant::BOOL, "ret"), "_equip_should_deny", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance")));
|
||||
|
@ -152,29 +152,29 @@ public:
|
||||
void notification_scast(int what, Ref<SpellCastInfo> info);
|
||||
void notification_sdamage(int what, Ref<SpellDamageInfo> info);
|
||||
|
||||
void son_death(Entity *entity);
|
||||
void son_death_bind(Node *entity);
|
||||
void notification_sdeath(Entity *entity);
|
||||
void notification_sdeath_bind(Node *entity);
|
||||
|
||||
void son_cooldown_added(Ref<Cooldown> cooldown);
|
||||
void son_cooldown_removed(Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_added(Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_removed(Ref<Cooldown> cooldown);
|
||||
|
||||
void son_category_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void son_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void son_gcd_started(Entity *entity, float gcd);
|
||||
void son_gcd_finished(Entity *entity);
|
||||
void son_gcd_started_bind(Node *entity, float gcd);
|
||||
void son_gcd_finished_bind(Node *entity);
|
||||
void notification_sgcd_started(Entity *entity, float gcd);
|
||||
void notification_sgcd_finished(Entity *entity);
|
||||
void notification_sgcd_started_bind(Node *entity, float gcd);
|
||||
void notification_sgcd_finished_bind(Node *entity);
|
||||
|
||||
void son_xp_gained(Entity *entity, int value);
|
||||
void son_xp_gained_bind(Node *entity, int value);
|
||||
void son_class_level_up(Entity *entity, int value);
|
||||
void son_class_level_up_bind(Node *entity, int value);
|
||||
void son_character_level_up(Entity *entity, int value);
|
||||
void son_character_level_up_bind(Node *entity, int value);
|
||||
void notification_sxp_gained(Entity *entity, int value);
|
||||
void notification_sxp_gained_bind(Node *entity, int value);
|
||||
void notification_sclass_level_up(Entity *entity, int value);
|
||||
void notification_sclass_level_up_bind(Node *entity, int value);
|
||||
void notification_scharacter_level_up(Entity *entity, int value);
|
||||
void notification_scharacter_level_up_bind(Node *entity, int value);
|
||||
|
||||
void son_entity_resource_added(Ref<EntityResource> resource);
|
||||
void son_entity_resource_removed(Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_added(Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_removed(Ref<EntityResource> resource);
|
||||
|
||||
//Clientside Event Handlers
|
||||
void notification_caura(int what, Ref<AuraData> data);
|
||||
@ -182,28 +182,28 @@ public:
|
||||
void notification_ccast(int what, Ref<SpellCastInfo> info);
|
||||
void notification_cdamage(int what, Ref<SpellDamageInfo> info);
|
||||
|
||||
void con_death(Entity *entity);
|
||||
void con_death_bind(Node *entity);
|
||||
void notification_cdeath(Entity *entity);
|
||||
void notification_cdeath_bind(Node *entity);
|
||||
|
||||
void con_cooldown_added(Ref<Cooldown> cooldown);
|
||||
void con_cooldown_removed(Ref<Cooldown> cooldown);
|
||||
void con_category_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void con_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccooldown_added(Ref<Cooldown> cooldown);
|
||||
void notification_ccooldown_removed(Ref<Cooldown> cooldown);
|
||||
void notification_ccategory_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void con_gcd_started(Entity *entity, float gcd);
|
||||
void con_gcd_finished(Entity *entity);
|
||||
void con_gcd_started_bind(Node *entity, float gcd);
|
||||
void con_gcd_finished_bind(Node *entity);
|
||||
void notification_cgcd_started(Entity *entity, float gcd);
|
||||
void notification_cgcd_finished(Entity *entity);
|
||||
void notification_cgcd_started_bind(Node *entity, float gcd);
|
||||
void notification_cgcd_finished_bind(Node *entity);
|
||||
|
||||
void con_xp_gained(Entity *entity, int value);
|
||||
void con_xp_gained_bind(Node *entity, int value);
|
||||
void con_class_level_up(Entity *entity, int value);
|
||||
void con_class_level_up_bind(Node *entity, int value);
|
||||
void con_character_level_up(Entity *entity, int value);
|
||||
void con_character_level_up_bind(Node *entity, int value);
|
||||
void notification_cxp_gained(Entity *entity, int value);
|
||||
void notification_cxp_gained_bind(Node *entity, int value);
|
||||
void notification_cclass_level_up(Entity *entity, int value);
|
||||
void notification_cclass_level_up_bind(Node *entity, int value);
|
||||
void notification_ccharacter_level_up(Entity *entity, int value);
|
||||
void notification_ccharacter_level_up_bind(Node *entity, int value);
|
||||
|
||||
void con_entity_resource_added(Ref<EntityResource> resource);
|
||||
void con_entity_resource_removed(Ref<EntityResource> resource);
|
||||
void notification_centity_resource_added(Ref<EntityResource> resource);
|
||||
void notification_centity_resource_removed(Ref<EntityResource> resource);
|
||||
|
||||
//Equipment
|
||||
|
||||
|
@ -386,95 +386,95 @@ void EntityData::notification_sdamage(int what, Ref<SpellDamageInfo> info) {
|
||||
call("_notification_sdamage", what, info);
|
||||
}
|
||||
|
||||
void EntityData::son_death(Entity *entity) {
|
||||
void EntityData::notification_sdeath(Entity *entity) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_death(entity);
|
||||
_entity_class_data->notification_sdeath(entity);
|
||||
|
||||
if (has_method("_son_death"))
|
||||
call("_son_death", entity);
|
||||
if (has_method("_notification_sdeath"))
|
||||
call("_notification_sdeath", entity);
|
||||
}
|
||||
|
||||
void EntityData::son_death_bind(Node *entity) {
|
||||
void EntityData::notification_sdeath_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_death(e);
|
||||
notification_sdeath(e);
|
||||
}
|
||||
|
||||
void EntityData::son_cooldown_added(Ref<Cooldown> cooldown) {
|
||||
void EntityData::notification_scooldown_added(Ref<Cooldown> cooldown) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_cooldown_added(cooldown);
|
||||
_entity_class_data->notification_scooldown_added(cooldown);
|
||||
|
||||
if (has_method("_son_cooldown_added"))
|
||||
call("_son_cooldown_added", cooldown);
|
||||
if (has_method("_notification_scooldown_added"))
|
||||
call("_notification_scooldown_added", cooldown);
|
||||
}
|
||||
void EntityData::son_cooldown_removed(Ref<Cooldown> cooldown) {
|
||||
void EntityData::notification_scooldown_removed(Ref<Cooldown> cooldown) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_cooldown_removed(cooldown);
|
||||
_entity_class_data->notification_scooldown_removed(cooldown);
|
||||
|
||||
if (has_method("_son_cooldown_removed"))
|
||||
call("_son_cooldown_removed", cooldown);
|
||||
if (has_method("_notification_scooldown_removed"))
|
||||
call("_notification_scooldown_removed", cooldown);
|
||||
}
|
||||
|
||||
void EntityData::son_category_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
void EntityData::notification_scategory_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_category_cooldown_added(category_cooldown);
|
||||
_entity_class_data->notification_scategory_cooldown_added(category_cooldown);
|
||||
|
||||
if (has_method("_son_category_cooldown_added"))
|
||||
call("_son_category_cooldown_added", category_cooldown);
|
||||
if (has_method("_notification_scategory_cooldown_added"))
|
||||
call("_notification_scategory_cooldown_added", category_cooldown);
|
||||
}
|
||||
void EntityData::son_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
void EntityData::notification_scategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_category_cooldown_removed(category_cooldown);
|
||||
_entity_class_data->notification_scategory_cooldown_removed(category_cooldown);
|
||||
|
||||
if (has_method("_son_category_cooldown_removed"))
|
||||
call("_son_category_cooldown_removed", category_cooldown);
|
||||
if (has_method("_notification_scategory_cooldown_removed"))
|
||||
call("_notification_scategory_cooldown_removed", category_cooldown);
|
||||
}
|
||||
|
||||
void EntityData::son_gcd_started(Entity *entity, float gcd) {
|
||||
void EntityData::notification_sgcd_started(Entity *entity, float gcd) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_gcd_started(entity, gcd);
|
||||
_entity_class_data->notification_sgcd_started(entity, gcd);
|
||||
|
||||
if (has_method("_son_gcd_started"))
|
||||
call("_son_gcd_started", entity, gcd);
|
||||
if (has_method("_notification_sgcd_started"))
|
||||
call("_notification_sgcd_started", entity, gcd);
|
||||
}
|
||||
void EntityData::son_gcd_finished(Entity *entity) {
|
||||
void EntityData::notification_sgcd_finished(Entity *entity) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_gcd_finished(entity);
|
||||
_entity_class_data->notification_sgcd_finished(entity);
|
||||
|
||||
if (has_method("_son_gcd_finished"))
|
||||
call("_son_gcd_finished", entity);
|
||||
if (has_method("_notification_sgcd_finished"))
|
||||
call("_notification_sgcd_finished", entity);
|
||||
}
|
||||
void EntityData::son_gcd_started_bind(Node *entity, float gcd) {
|
||||
void EntityData::notification_sgcd_started_bind(Node *entity, float gcd) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_gcd_started(e, gcd);
|
||||
notification_sgcd_started(e, gcd);
|
||||
}
|
||||
void EntityData::son_gcd_finished_bind(Node *entity) {
|
||||
void EntityData::notification_sgcd_finished_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_gcd_finished(e);
|
||||
notification_sgcd_finished(e);
|
||||
}
|
||||
|
||||
void EntityData::son_xp_gained(Entity *entity, int value) {
|
||||
void EntityData::notification_sxp_gained(Entity *entity, int value) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_xp_gained(entity, value);
|
||||
_entity_class_data->notification_sxp_gained(entity, value);
|
||||
|
||||
if (has_method("_son_xp_gained"))
|
||||
call("_son_xp_gained", entity, value);
|
||||
if (has_method("_notification_sxp_gained"))
|
||||
call("_notification_sxp_gained", entity, value);
|
||||
}
|
||||
void EntityData::son_xp_gained_bind(Node *entity, int value) {
|
||||
void EntityData::notification_sxp_gained_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -485,17 +485,17 @@ void EntityData::son_xp_gained_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_xp_gained(e, value);
|
||||
notification_sxp_gained(e, value);
|
||||
}
|
||||
|
||||
void EntityData::son_class_level_up(Entity *entity, int value) {
|
||||
void EntityData::notification_sclass_level_up(Entity *entity, int value) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_class_level_up(entity, value);
|
||||
_entity_class_data->notification_sclass_level_up(entity, value);
|
||||
|
||||
if (has_method("_son_class_level_up"))
|
||||
call("_son_class_level_up", entity);
|
||||
if (has_method("_notification_sclass_level_up"))
|
||||
call("_notification_sclass_level_up", entity);
|
||||
}
|
||||
void EntityData::son_class_level_up_bind(Node *entity, int value) {
|
||||
void EntityData::notification_sclass_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -506,17 +506,17 @@ void EntityData::son_class_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_class_level_up(e, value);
|
||||
notification_sclass_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityData::son_character_level_up(Entity *entity, int value) {
|
||||
void EntityData::notification_scharacter_level_up(Entity *entity, int value) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_character_level_up(entity, value);
|
||||
_entity_class_data->notification_scharacter_level_up(entity, value);
|
||||
|
||||
if (has_method("_son_character_level_up"))
|
||||
call("_son_character_level_up", entity);
|
||||
if (has_method("_notification_scharacter_level_up"))
|
||||
call("_notification_scharacter_level_up", entity);
|
||||
}
|
||||
void EntityData::son_character_level_up_bind(Node *entity, int value) {
|
||||
void EntityData::notification_scharacter_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -527,24 +527,24 @@ void EntityData::son_character_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
son_character_level_up(e, value);
|
||||
notification_scharacter_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityData::son_entity_resource_added(Ref<EntityResource> resource) {
|
||||
void EntityData::notification_sentity_resource_added(Ref<EntityResource> resource) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->son_entity_resource_added(resource);
|
||||
_entity_class_data->notification_sentity_resource_added(resource);
|
||||
|
||||
if (has_method("_son_entity_resource_added"))
|
||||
call("_son_entity_resource_added", resource);
|
||||
if (has_method("_notification_sentity_resource_added"))
|
||||
call("_notification_sentity_resource_added", resource);
|
||||
}
|
||||
|
||||
void EntityData::son_entity_resource_removed(Ref<EntityResource> resource) {
|
||||
void EntityData::notification_sentity_resource_removed(Ref<EntityResource> resource) {
|
||||
if (_entity_class_data.is_valid()) {
|
||||
_entity_class_data->son_entity_resource_removed(resource);
|
||||
_entity_class_data->notification_sentity_resource_removed(resource);
|
||||
}
|
||||
|
||||
if (has_method("_son_entity_resource_removed"))
|
||||
call("_son_entity_resource_removed", resource);
|
||||
if (has_method("_notification_sentity_resource_removed"))
|
||||
call("_notification_sentity_resource_removed", resource);
|
||||
}
|
||||
|
||||
//Clientside Event Handlers
|
||||
@ -585,104 +585,104 @@ void EntityData::notification_cdamage(int what, Ref<SpellDamageInfo> info) {
|
||||
call("_notification_cdamage", what, info);
|
||||
}
|
||||
|
||||
void EntityData::con_death(Entity *entity) {
|
||||
void EntityData::notification_cdeath(Entity *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_death(entity);
|
||||
_entity_class_data->notification_cdeath(entity);
|
||||
|
||||
if (has_method("_con_death"))
|
||||
call("_con_death", entity);
|
||||
if (has_method("_notification_cdeath"))
|
||||
call("_notification_cdeath", entity);
|
||||
}
|
||||
|
||||
void EntityData::con_death_bind(Node *entity) {
|
||||
void EntityData::notification_cdeath_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_death(e);
|
||||
notification_cdeath(e);
|
||||
}
|
||||
|
||||
void EntityData::con_cooldown_added(Ref<Cooldown> cooldown) {
|
||||
void EntityData::notification_ccooldown_added(Ref<Cooldown> cooldown) {
|
||||
ERR_FAIL_COND(!cooldown.is_valid());
|
||||
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_cooldown_added(cooldown);
|
||||
_entity_class_data->notification_ccooldown_added(cooldown);
|
||||
|
||||
if (has_method("_con_cooldown_added"))
|
||||
call("_con_cooldown_added", cooldown);
|
||||
if (has_method("_notification_ccooldown_added"))
|
||||
call("_notification_ccooldown_added", cooldown);
|
||||
}
|
||||
void EntityData::con_cooldown_removed(Ref<Cooldown> cooldown) {
|
||||
void EntityData::notification_ccooldown_removed(Ref<Cooldown> cooldown) {
|
||||
ERR_FAIL_COND(!cooldown.is_valid());
|
||||
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_cooldown_removed(cooldown);
|
||||
_entity_class_data->notification_ccooldown_removed(cooldown);
|
||||
|
||||
if (has_method("_con_cooldown_removed"))
|
||||
call("_con_cooldown_removed", cooldown);
|
||||
if (has_method("_notification_ccooldown_removed"))
|
||||
call("_notification_ccooldown_removed", cooldown);
|
||||
}
|
||||
void EntityData::con_category_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
void EntityData::notification_ccategory_cooldown_added(Ref<CategoryCooldown> category_cooldown) {
|
||||
ERR_FAIL_COND(!category_cooldown.is_valid());
|
||||
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_category_cooldown_added(category_cooldown);
|
||||
_entity_class_data->notification_ccategory_cooldown_added(category_cooldown);
|
||||
|
||||
if (has_method("_con_category_cooldown_added"))
|
||||
call("_con_category_cooldown_added", category_cooldown);
|
||||
if (has_method("_notification_ccategory_cooldown_added"))
|
||||
call("_notification_ccategory_cooldown_added", category_cooldown);
|
||||
}
|
||||
void EntityData::con_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
void EntityData::notification_ccategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown) {
|
||||
ERR_FAIL_COND(!category_cooldown.is_valid());
|
||||
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_category_cooldown_removed(category_cooldown);
|
||||
_entity_class_data->notification_ccategory_cooldown_removed(category_cooldown);
|
||||
|
||||
if (has_method("_con_category_cooldown_removed"))
|
||||
call("_con_category_cooldown_removed", category_cooldown);
|
||||
if (has_method("_notification_ccategory_cooldown_removed"))
|
||||
call("_notification_ccategory_cooldown_removed", category_cooldown);
|
||||
}
|
||||
|
||||
void EntityData::con_gcd_started(Entity *entity, float gcd) {
|
||||
void EntityData::notification_cgcd_started(Entity *entity, float gcd) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_gcd_started(entity, gcd);
|
||||
_entity_class_data->notification_cgcd_started(entity, gcd);
|
||||
|
||||
if (has_method("_con_gcd_started"))
|
||||
call("_con_gcd_started", entity, gcd);
|
||||
if (has_method("_notification_cgcd_started"))
|
||||
call("_notification_cgcd_started", entity, gcd);
|
||||
}
|
||||
void EntityData::con_gcd_finished(Entity *entity) {
|
||||
void EntityData::notification_cgcd_finished(Entity *entity) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_gcd_finished(entity);
|
||||
_entity_class_data->notification_cgcd_finished(entity);
|
||||
|
||||
if (has_method("_con_gcd_finished"))
|
||||
call("_con_gcd_finished", entity);
|
||||
if (has_method("_notification_cgcd_finished"))
|
||||
call("_notification_cgcd_finished", entity);
|
||||
}
|
||||
void EntityData::con_gcd_started_bind(Node *entity, float gcd) {
|
||||
void EntityData::notification_cgcd_started_bind(Node *entity, float gcd) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_gcd_started(e, gcd);
|
||||
notification_cgcd_started(e, gcd);
|
||||
}
|
||||
void EntityData::con_gcd_finished_bind(Node *entity) {
|
||||
void EntityData::notification_cgcd_finished_bind(Node *entity) {
|
||||
ERR_FAIL_COND(entity == NULL);
|
||||
|
||||
Entity *e = Object::cast_to<Entity>(entity);
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_gcd_finished(e);
|
||||
notification_cgcd_finished(e);
|
||||
}
|
||||
|
||||
void EntityData::con_xp_gained(Entity *entity, int value) {
|
||||
void EntityData::notification_cxp_gained(Entity *entity, int value) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_xp_gained(entity, value);
|
||||
_entity_class_data->notification_cxp_gained(entity, value);
|
||||
|
||||
if (has_method("_con_xp_gained"))
|
||||
call("_con_xp_gained", entity, value);
|
||||
if (has_method("_notification_cxp_gained"))
|
||||
call("_notification_cxp_gained", entity, value);
|
||||
}
|
||||
void EntityData::con_xp_gained_bind(Node *entity, int value) {
|
||||
void EntityData::notification_cxp_gained_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -693,17 +693,17 @@ void EntityData::con_xp_gained_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_xp_gained(e, value);
|
||||
notification_cxp_gained(e, value);
|
||||
}
|
||||
|
||||
void EntityData::con_class_level_up(Entity *entity, int value) {
|
||||
void EntityData::notification_cclass_level_up(Entity *entity, int value) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_class_level_up(entity, value);
|
||||
_entity_class_data->notification_cclass_level_up(entity, value);
|
||||
|
||||
if (has_method("_con_class_level_up"))
|
||||
call("_con_class_level_up", entity);
|
||||
if (has_method("_notification_cclass_level_up"))
|
||||
call("_notification_cclass_level_up", entity);
|
||||
}
|
||||
void EntityData::con_class_level_up_bind(Node *entity, int value) {
|
||||
void EntityData::notification_cclass_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -714,17 +714,17 @@ void EntityData::con_class_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_class_level_up(e, value);
|
||||
notification_cclass_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityData::con_character_level_up(Entity *entity, int value) {
|
||||
void EntityData::notification_ccharacter_level_up(Entity *entity, int value) {
|
||||
if (_entity_class_data.is_valid())
|
||||
_entity_class_data->con_character_level_up(entity, value);
|
||||
_entity_class_data->notification_ccharacter_level_up(entity, value);
|
||||
|
||||
if (has_method("_con_character_level_up"))
|
||||
call("_con_character_level_up", entity);
|
||||
if (has_method("_notification_ccharacter_level_up"))
|
||||
call("_notification_ccharacter_level_up", entity);
|
||||
}
|
||||
void EntityData::con_character_level_up_bind(Node *entity, int value) {
|
||||
void EntityData::notification_ccharacter_level_up_bind(Node *entity, int value) {
|
||||
#if VERSION_MAJOR < 4
|
||||
ERR_FAIL_COND(!ObjectDB::instance_validate(entity));
|
||||
#else
|
||||
@ -735,25 +735,25 @@ void EntityData::con_character_level_up_bind(Node *entity, int value) {
|
||||
|
||||
ERR_FAIL_COND(e == NULL);
|
||||
|
||||
con_character_level_up(e, value);
|
||||
notification_ccharacter_level_up(e, value);
|
||||
}
|
||||
|
||||
void EntityData::con_entity_resource_added(Ref<EntityResource> resource) {
|
||||
void EntityData::notification_centity_resource_added(Ref<EntityResource> resource) {
|
||||
if (_entity_class_data.is_valid()) {
|
||||
_entity_class_data->con_entity_resource_added(resource);
|
||||
_entity_class_data->notification_centity_resource_added(resource);
|
||||
}
|
||||
|
||||
if (has_method("_con_entity_resource_added"))
|
||||
call("_con_entity_resource_added", resource);
|
||||
if (has_method("_notification_centity_resource_added"))
|
||||
call("_notification_centity_resource_added", resource);
|
||||
}
|
||||
|
||||
void EntityData::con_entity_resource_removed(Ref<EntityResource> resource) {
|
||||
void EntityData::notification_centity_resource_removed(Ref<EntityResource> resource) {
|
||||
if (_entity_class_data.is_valid()) {
|
||||
_entity_class_data->con_entity_resource_removed(resource);
|
||||
_entity_class_data->notification_centity_resource_removed(resource);
|
||||
}
|
||||
|
||||
if (has_method("_con_entity_resource_removed"))
|
||||
call("_con_entity_resource_removed", resource);
|
||||
if (has_method("_notification_centity_resource_removed"))
|
||||
call("_notification_centity_resource_removed", resource);
|
||||
}
|
||||
|
||||
//Equipment
|
||||
@ -926,83 +926,83 @@ void EntityData::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_ccast", "what", "info"), &EntityData::notification_ccast);
|
||||
ClassDB::bind_method(D_METHOD("notification_cdamage", "what", "info"), &EntityData::notification_cdamage);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_death", "data"), &EntityData::son_death_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sdeath", "data"), &EntityData::notification_sdeath_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_cooldown_added", "cooldown"), &EntityData::son_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("son_cooldown_removed", "cooldown"), &EntityData::son_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_added", "cooldown"), &EntityData::notification_scooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_removed", "cooldown"), &EntityData::notification_scooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_category_cooldown_added", "category_cooldown"), &EntityData::son_category_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("son_category_cooldown_removed", "category_cooldown"), &EntityData::son_category_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_added", "category_cooldown"), &EntityData::notification_scategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_removed", "category_cooldown"), &EntityData::notification_scategory_cooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_gcd_started", "entity", "gcd"), &EntityData::son_gcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("son_gcd_finished", "entity"), &EntityData::son_gcd_finished_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sgcd_started", "entity", "gcd"), &EntityData::notification_sgcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sgcd_finished", "entity"), &EntityData::notification_sgcd_finished_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_xp_gained", "entity", "value"), &EntityData::son_xp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("son_class_level_up", "entity", "value"), &EntityData::son_class_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("son_character_level_up", "entity", "value"), &EntityData::son_character_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sxp_gained", "entity", "value"), &EntityData::notification_sxp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_sclass_level_up", "entity", "value"), &EntityData::notification_sclass_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_scharacter_level_up", "entity", "value"), &EntityData::notification_scharacter_level_up_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("son_entity_resource_added", "resource"), &EntityData::son_entity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("son_entity_resource_removed", "resource"), &EntityData::son_entity_resource_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_added", "resource"), &EntityData::notification_sentity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_removed", "resource"), &EntityData::notification_sentity_resource_removed);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_death", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sdeath", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_sai_follow", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_sai_rest", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_sai_regenerate", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_sai_attack", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_cooldown_added", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_cooldown_removed", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scooldown_added", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scooldown_removed", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_category_cooldown_added", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_son_category_cooldown_removed", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scategory_cooldown_added", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scategory_cooldown_removed", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_gcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_son_gcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sgcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sgcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_xp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_class_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_son_character_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sxp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sclass_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_scharacter_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_son_entity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_son_entity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sentity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sentity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_setup_resources", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
//Clientside Event Handlers
|
||||
ClassDB::bind_method(D_METHOD("con_death", "data"), &EntityData::con_death_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cdeath", "data"), &EntityData::notification_cdeath_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_cooldown_added", "cooldown"), &EntityData::con_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("con_cooldown_removed", "cooldown"), &EntityData::con_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("con_category_cooldown_added", "cooldown"), &EntityData::con_category_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("con_category_cooldown_removed", "cooldown"), &EntityData::con_category_cooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_added", "cooldown"), &EntityData::notification_ccooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_removed", "cooldown"), &EntityData::notification_ccooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_added", "cooldown"), &EntityData::notification_ccategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_removed", "cooldown"), &EntityData::notification_ccategory_cooldown_removed);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_gcd_started", "entity", "gcd"), &EntityData::con_gcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("con_gcd_finished", "entity"), &EntityData::con_gcd_finished_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cgcd_started", "entity", "gcd"), &EntityData::notification_cgcd_started_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cgcd_finished", "entity"), &EntityData::notification_cgcd_finished_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_xp_gained", "entity", "value"), &EntityData::con_xp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("con_class_level_up", "entity", "value"), &EntityData::con_class_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("con_character_level_up", "entity", "value"), &EntityData::con_character_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cxp_gained", "entity", "value"), &EntityData::notification_cxp_gained_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_cclass_level_up", "entity", "value"), &EntityData::notification_cclass_level_up_bind);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccharacter_level_up", "entity", "value"), &EntityData::notification_ccharacter_level_up_bind);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("con_entity_resource_added", "resource"), &EntityData::con_entity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("con_entity_resource_removed", "resource"), &EntityData::con_entity_resource_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_added", "resource"), &EntityData::notification_centity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_removed", "resource"), &EntityData::notification_centity_resource_removed);
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_death", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cdeath", PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_cooldown_added", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_con_cooldown_removed", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_con_category_cooldown_added", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_con_category_cooldown_removed", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccooldown_added", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccooldown_removed", PropertyInfo(Variant::OBJECT, "cooldown", PROPERTY_HINT_RESOURCE_TYPE, "Cooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccategory_cooldown_added", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccategory_cooldown_removed", PropertyInfo(Variant::OBJECT, "category_cooldown", PROPERTY_HINT_RESOURCE_TYPE, "CategoryCooldown")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_gcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_con_gcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cgcd_started", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::REAL, "gcd")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cgcd_finished", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_xp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_class_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_con_character_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cxp_gained", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cclass_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_ccharacter_level_up", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "value")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_con_entity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_con_entity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_centity_resource_added", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_centity_resource_removed", PropertyInfo(Variant::OBJECT, "resource", PROPERTY_HINT_RESOURCE_TYPE, "EntityResource")));
|
||||
|
||||
//Equipment
|
||||
|
||||
|
@ -156,29 +156,29 @@ public:
|
||||
void notification_scast(int what, Ref<SpellCastInfo> info);
|
||||
void notification_sdamage(int what, Ref<SpellDamageInfo> info);
|
||||
|
||||
void son_death(Entity *entity);
|
||||
void son_death_bind(Node *entity);
|
||||
void notification_sdeath(Entity *entity);
|
||||
void notification_sdeath_bind(Node *entity);
|
||||
|
||||
void son_cooldown_added(Ref<Cooldown> cooldown);
|
||||
void son_cooldown_removed(Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_added(Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_removed(Ref<Cooldown> cooldown);
|
||||
|
||||
void son_category_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void son_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void son_gcd_started(Entity *entity, float gcd);
|
||||
void son_gcd_finished(Entity *entity);
|
||||
void son_gcd_started_bind(Node *entity, float gcd);
|
||||
void son_gcd_finished_bind(Node *entity);
|
||||
void notification_sgcd_started(Entity *entity, float gcd);
|
||||
void notification_sgcd_finished(Entity *entity);
|
||||
void notification_sgcd_started_bind(Node *entity, float gcd);
|
||||
void notification_sgcd_finished_bind(Node *entity);
|
||||
|
||||
void son_xp_gained(Entity *entity, int value);
|
||||
void son_xp_gained_bind(Node *entity, int value);
|
||||
void son_class_level_up(Entity *entity, int value);
|
||||
void son_class_level_up_bind(Node *entity, int value);
|
||||
void son_character_level_up(Entity *entity, int value);
|
||||
void son_character_level_up_bind(Node *entity, int value);
|
||||
void notification_sxp_gained(Entity *entity, int value);
|
||||
void notification_sxp_gained_bind(Node *entity, int value);
|
||||
void notification_sclass_level_up(Entity *entity, int value);
|
||||
void notification_sclass_level_up_bind(Node *entity, int value);
|
||||
void notification_scharacter_level_up(Entity *entity, int value);
|
||||
void notification_scharacter_level_up_bind(Node *entity, int value);
|
||||
|
||||
void son_entity_resource_added(Ref<EntityResource> resource);
|
||||
void son_entity_resource_removed(Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_added(Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_removed(Ref<EntityResource> resource);
|
||||
|
||||
//Clientside Event Handlers
|
||||
void notification_caura(int what, Ref<AuraData> data);
|
||||
@ -186,28 +186,28 @@ public:
|
||||
void notification_ccast(int what, Ref<SpellCastInfo> info);
|
||||
void notification_cdamage(int what, Ref<SpellDamageInfo> info);
|
||||
|
||||
void con_cooldown_added(Ref<Cooldown> cooldown);
|
||||
void con_cooldown_removed(Ref<Cooldown> cooldown);
|
||||
void con_category_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void con_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccooldown_added(Ref<Cooldown> cooldown);
|
||||
void notification_ccooldown_removed(Ref<Cooldown> cooldown);
|
||||
void notification_ccategory_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void con_death(Entity *entity);
|
||||
void con_death_bind(Node *entity);
|
||||
void notification_cdeath(Entity *entity);
|
||||
void notification_cdeath_bind(Node *entity);
|
||||
|
||||
void con_gcd_started(Entity *entity, float gcd);
|
||||
void con_gcd_finished(Entity *entity);
|
||||
void con_gcd_started_bind(Node *entity, float gcd);
|
||||
void con_gcd_finished_bind(Node *entity);
|
||||
void notification_cgcd_started(Entity *entity, float gcd);
|
||||
void notification_cgcd_finished(Entity *entity);
|
||||
void notification_cgcd_started_bind(Node *entity, float gcd);
|
||||
void notification_cgcd_finished_bind(Node *entity);
|
||||
|
||||
void con_xp_gained(Entity *entity, int value);
|
||||
void con_xp_gained_bind(Node *entity, int value);
|
||||
void con_class_level_up(Entity *entity, int value);
|
||||
void con_class_level_up_bind(Node *entity, int value);
|
||||
void con_character_level_up(Entity *entity, int value);
|
||||
void con_character_level_up_bind(Node *entity, int value);
|
||||
void notification_cxp_gained(Entity *entity, int value);
|
||||
void notification_cxp_gained_bind(Node *entity, int value);
|
||||
void notification_cclass_level_up(Entity *entity, int value);
|
||||
void notification_cclass_level_up_bind(Node *entity, int value);
|
||||
void notification_ccharacter_level_up(Entity *entity, int value);
|
||||
void notification_ccharacter_level_up_bind(Node *entity, int value);
|
||||
|
||||
void con_entity_resource_added(Ref<EntityResource> resource);
|
||||
void con_entity_resource_removed(Ref<EntityResource> resource);
|
||||
void notification_centity_resource_added(Ref<EntityResource> resource);
|
||||
void notification_centity_resource_removed(Ref<EntityResource> resource);
|
||||
|
||||
//Equipment
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -345,8 +345,8 @@ public:
|
||||
void dies();
|
||||
void diec();
|
||||
|
||||
void ons_stat_changed(Ref<Stat> stat);
|
||||
void onc_stat_changed(Ref<Stat> stat);
|
||||
void notification_sstat_changed(Ref<Stat> stat);
|
||||
void notification_cstat_changed(Ref<Stat> stat);
|
||||
|
||||
void ssend_stat(int id, int ccurrent, int cmax);
|
||||
void creceive_stat(int id, int ccurrent, int cmax);
|
||||
@ -466,48 +466,49 @@ public:
|
||||
void notification_scast(int what, Ref<SpellCastInfo> info);
|
||||
void notification_sdamage(int what, Ref<SpellDamageInfo> info);
|
||||
|
||||
void son_death();
|
||||
void notification_scooldown_added(Ref<Cooldown> cooldown);
|
||||
void notification_scooldown_removed(Ref<Cooldown> cooldown);
|
||||
|
||||
void son_cooldown_added(Ref<Cooldown> cooldown);
|
||||
void son_cooldown_removed(Ref<Cooldown> cooldown);
|
||||
void notification_scategory_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_scategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void son_category_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void son_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_sentity_resource_added(Ref<EntityResource> resource);
|
||||
void notification_sentity_resource_removed(Ref<EntityResource> resource);
|
||||
|
||||
void son_entity_resource_added(Ref<EntityResource> resource);
|
||||
void son_entity_resource_removed(Ref<EntityResource> resource);
|
||||
void notification_sxp_gained(int value);
|
||||
void notification_sclass_level_up(int value);
|
||||
void notification_scharacter_level_up(int value);
|
||||
|
||||
void son_gcd_started();
|
||||
void son_gcd_finished();
|
||||
void con_gcd_started();
|
||||
void con_gcd_finished();
|
||||
void notification_sdeath();
|
||||
|
||||
void son_physics_process(float delta);
|
||||
|
||||
void son_xp_gained(int value);
|
||||
void son_class_level_up(int value);
|
||||
void son_character_level_up(int value);
|
||||
|
||||
//Clientside EventHandlers
|
||||
void notification_caura(int what, Ref<AuraData> data);
|
||||
void notification_cheal(int what, Ref<SpellHealInfo> info);
|
||||
void notification_ccast(int what, Ref<SpellCastInfo> info);
|
||||
void notification_cdamage(int what, Ref<SpellDamageInfo> info);
|
||||
|
||||
void con_death();
|
||||
void notification_ccooldown_added(Ref<Cooldown> cooldown);
|
||||
void notification_ccooldown_removed(Ref<Cooldown> cooldown);
|
||||
|
||||
void con_cooldown_added(Ref<Cooldown> cooldown);
|
||||
void con_cooldown_removed(Ref<Cooldown> cooldown);
|
||||
void notification_ccategory_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_ccategory_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
|
||||
void con_category_cooldown_added(Ref<CategoryCooldown> category_cooldown);
|
||||
void con_category_cooldown_removed(Ref<CategoryCooldown> category_cooldown);
|
||||
void notification_centity_resource_added(Ref<EntityResource> resource);
|
||||
void notification_centity_resource_removed(Ref<EntityResource> resource);
|
||||
|
||||
void con_entity_resource_added(Ref<EntityResource> resource);
|
||||
void con_entity_resource_removed(Ref<EntityResource> resource);
|
||||
void notification_cxp_gained(int value);
|
||||
void notification_cclass_level_up(int value);
|
||||
void notification_ccharacter_level_up(int value);
|
||||
|
||||
void con_xp_gained(int value);
|
||||
void con_class_level_up(int value);
|
||||
void con_character_level_up(int value);
|
||||
void notification_cdeath();
|
||||
|
||||
//gcd
|
||||
void notification_sgcd_started();
|
||||
void notification_sgcd_finished();
|
||||
void notification_cgcd_started();
|
||||
void notification_cgcd_finished();
|
||||
|
||||
//Modifiers/Requesters
|
||||
void sapply_passives_damage_receive(Ref<SpellDamageInfo> info);
|
||||
@ -595,11 +596,11 @@ public:
|
||||
//Hooks
|
||||
void moved();
|
||||
|
||||
void onc_mouse_enter();
|
||||
void onc_mouse_exit();
|
||||
void notification_cmouse_enter();
|
||||
void notification_cmouse_exit();
|
||||
|
||||
void onc_targeted();
|
||||
void onc_untargeted();
|
||||
void notification_ctargeted();
|
||||
void notification_cuntargeted();
|
||||
|
||||
//Update
|
||||
void update_auras(float delta);
|
||||
@ -796,49 +797,51 @@ public:
|
||||
void loots(int index);
|
||||
void lootc(int index);
|
||||
|
||||
void item_ons_added(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void item_addc_rpc(int slot_id, String item_data);
|
||||
void item_addc(int slot_id, Ref<ItemInstance> item);
|
||||
|
||||
//Bag
|
||||
void item_ons_removed(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void item_removes(const int slot_id);
|
||||
void item_removec(const int slot_id);
|
||||
void item_cdeny_remove(const int slot_id);
|
||||
void item_crequest_remove(const int slot_id);
|
||||
|
||||
void items_ons_swapped(Ref<Bag> bag, int slot_id_1, int slot_id_2);
|
||||
void items_swaps(int slot_id_1, int slot_id_2);
|
||||
void items_swapc(int slot_id_1, int slot_id_2);
|
||||
void item_cdeny_swap(int slot_id_1, int slot_id_2);
|
||||
void item_crequest_swap(int slot_id_1, int slot_id_2);
|
||||
|
||||
void item_ons_count_changed(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void item_cchange_count(int slot_id, int new_count);
|
||||
|
||||
void ons_overburdened(Ref<Bag> bag);
|
||||
void ons_overburden_removed(Ref<Bag> bag);
|
||||
void notification_item_sadded(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void notification_item_sremoved(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void notification_items_sswapped(Ref<Bag> bag, int slot_id_1, int slot_id_2);
|
||||
void notification_item_sscount_changed(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void notification_soverburdened(Ref<Bag> bag);
|
||||
void notification_soverburden_removed(Ref<Bag> bag);
|
||||
|
||||
//Target Bag
|
||||
void target_item_ons_added(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
|
||||
void target_item_addc_rpc(int slot_id, String item_data);
|
||||
void target_item_addc(int slot_id, Ref<ItemInstance> item);
|
||||
|
||||
void target_item_ons_removed(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void target_item_removes(const int slot_id);
|
||||
void target_item_removec(const int slot_id);
|
||||
void target_item_cdeny_remove(const int slot_id);
|
||||
void target_remove_crequest_item(const int slot_id);
|
||||
|
||||
void target_items_ons_swapped(Ref<Bag> bag, int slot_id_1, int slot_id_2);
|
||||
void target_items_sswap(int slot_id_1, int slot_id_2);
|
||||
void target_items_cswap(int slot_id_1, int slot_id_2);
|
||||
void target_item_cdeny_swap(int slot_id_1, int slot_id_2);
|
||||
void target_item_crequest_swap(int slot_id_1, int slot_id_2);
|
||||
|
||||
void target_item_ons_count_changed(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void target_item_cchange_count(int slot_id, int new_count);
|
||||
|
||||
void notification_target_item_sadded(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void notification_target_item_sremoved(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
void notification_target_items_sswapped(Ref<Bag> bag, int slot_id_1, int slot_id_2);
|
||||
void notification_target_item_sscount_changed(Ref<Bag> bag, Ref<ItemInstance> item, int slot_id);
|
||||
|
||||
//// Data ////
|
||||
|
||||
void data_adds(Ref<EntityDataContainer> data);
|
||||
@ -969,12 +972,12 @@ public:
|
||||
|
||||
protected:
|
||||
void _crafts(int id);
|
||||
void _son_xp_gained(int value);
|
||||
void _son_character_level_up(int level);
|
||||
void _son_class_level_up(int level);
|
||||
void _notification_sxp_gained(int value);
|
||||
void _notification_scharacter_level_up(int level);
|
||||
void _notification_sclass_level_up(int level);
|
||||
void _moved();
|
||||
void _con_target_changed(Node *p_entity, Node *p_old_target);
|
||||
void _son_death();
|
||||
void _notification_sdeath();
|
||||
void _spell_learns(int id);
|
||||
|
||||
bool _set(const StringName &p_name, const Variant &p_value);
|
||||
|
@ -123,13 +123,13 @@ void EntityResource::onc_added(Entity *owner) {
|
||||
call("_onc_added", owner);
|
||||
}
|
||||
|
||||
void EntityResource::ons_stat_changed(Ref<Stat> stat) {
|
||||
if (has_method("_ons_stat_changed"))
|
||||
call("_ons_stat_changed", stat);
|
||||
void EntityResource::notification_sstat_changed(Ref<Stat> stat) {
|
||||
if (has_method("_notification_sstat_changed"))
|
||||
call("_notification_sstat_changed", stat);
|
||||
}
|
||||
void EntityResource::onc_stat_changed(Ref<Stat> stat) {
|
||||
if (has_method("_onc_stat_changed"))
|
||||
call("_onc_stat_changed", stat);
|
||||
void EntityResource::notification_cstat_changed(Ref<Stat> stat) {
|
||||
if (has_method("_notification_cstat_changed"))
|
||||
call("_notification_cstat_changed", stat);
|
||||
}
|
||||
|
||||
void EntityResource::ons_target_changed(Entity *entity, Entity *old_target) {
|
||||
@ -249,8 +249,8 @@ void EntityResource::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_owner", "value"), &EntityResource::set_owner_bind);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "owner", PROPERTY_HINT_RESOURCE_TYPE, "Entity", 0), "set_owner", "get_owner");
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_ons_stat_changed", PropertyInfo(Variant::OBJECT, "stat", PROPERTY_HINT_RESOURCE_TYPE, "Stat")));
|
||||
BIND_VMETHOD(MethodInfo("_onc_stat_changed", PropertyInfo(Variant::OBJECT, "stat", PROPERTY_HINT_RESOURCE_TYPE, "Stat")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_sstat_changed", PropertyInfo(Variant::OBJECT, "stat", PROPERTY_HINT_RESOURCE_TYPE, "Stat")));
|
||||
BIND_VMETHOD(MethodInfo("_notification_cstat_changed", PropertyInfo(Variant::OBJECT, "stat", PROPERTY_HINT_RESOURCE_TYPE, "Stat")));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_ons_target_changed", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::OBJECT, "old_target", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
BIND_VMETHOD(MethodInfo("_onc_target_changed", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::OBJECT, "old_target", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
@ -58,8 +58,8 @@ public:
|
||||
void ons_added(Entity *owner);
|
||||
void onc_added(Entity *owner);
|
||||
|
||||
void ons_stat_changed(Ref<Stat> stat);
|
||||
void onc_stat_changed(Ref<Stat> stat);
|
||||
void notification_sstat_changed(Ref<Stat> stat);
|
||||
void notification_cstat_changed(Ref<Stat> stat);
|
||||
|
||||
void ons_target_changed(Entity *entity, Entity *old_target);
|
||||
void onc_target_changed(Entity *entity, Entity *old_target);
|
||||
|
@ -152,7 +152,7 @@ void Stat::setc_current(float value) {
|
||||
|
||||
_c_current = value;
|
||||
|
||||
_owner->onc_stat_changed(Ref<Stat>(this));
|
||||
_owner->notification_cstat_changed(Ref<Stat>(this));
|
||||
|
||||
emit_signal("c_changed", Ref<Stat>(this));
|
||||
}
|
||||
@ -165,7 +165,7 @@ void Stat::setc_max(float value) {
|
||||
|
||||
_s_current = value;
|
||||
|
||||
_owner->onc_stat_changed(Ref<Stat>(this));
|
||||
_owner->notification_cstat_changed(Ref<Stat>(this));
|
||||
|
||||
emit_signal("c_changed", Ref<Stat>(this));
|
||||
}
|
||||
@ -176,7 +176,7 @@ void Stat::setc_values(int ccurrent, int cmax) {
|
||||
_c_current = ccurrent;
|
||||
_c_max = cmax;
|
||||
|
||||
_owner->onc_stat_changed(Ref<Stat>(this));
|
||||
_owner->notification_cstat_changed(Ref<Stat>(this));
|
||||
emit_signal("c_changed", Ref<Stat>(this));
|
||||
}
|
||||
|
||||
@ -298,7 +298,7 @@ void Stat::apply_modifiers() {
|
||||
sm->set_base_mod(_s_current * curve->interpolate(_s_current / max_value));
|
||||
}
|
||||
|
||||
_owner->ons_stat_changed(Ref<Stat>(this));
|
||||
_owner->notification_sstat_changed(Ref<Stat>(this));
|
||||
emit_signal("s_changed", Ref<Stat>(this));
|
||||
}
|
||||
|
||||
@ -337,7 +337,7 @@ void Stat::set_to_max() {
|
||||
|
||||
_dirty = true;
|
||||
|
||||
_owner->ons_stat_changed(Ref<Stat>(this));
|
||||
_owner->notification_sstat_changed(Ref<Stat>(this));
|
||||
emit_signal("s_changed", Ref<Stat>(this));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user