mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-13 21:20:52 +02:00
Comment out all GDVIRTUAL_BINDs in the module temporarily.
This commit is contained in:
parent
5191c098c2
commit
d827bd370e
data
items
loot
species
spells
database
entities
formations
inventory
material_cache
singletons
skeleton
spawners
utility
@ -268,12 +268,12 @@ void ItemInstance::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("stat_modifiers_set", "mods"), &ItemInstance::stat_modifiers_set);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "stat_modifiers", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT, ""), "stat_modifiers_set", "stat_modifiers_get");
|
||||
|
||||
//GDVIRTUAL_BIND("_get_description", "desc");
|
||||
////GDVIRTUAL_BIND("_get_description", "desc");
|
||||
ClassDB::bind_method(D_METHOD("get_description"), &ItemInstance::get_description);
|
||||
|
||||
//Serialization
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict", "dict");
|
||||
////GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
////GDVIRTUAL_BIND("_to_dict", "dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &ItemInstance::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &ItemInstance::to_dict);
|
||||
|
@ -441,7 +441,7 @@ void ItemTemplate::_validate_property(PropertyInfo &property) const {
|
||||
}
|
||||
|
||||
void ItemTemplate::_bind_methods() {
|
||||
//GDVIRTUAL_BIND("_create_item_instance");
|
||||
////GDVIRTUAL_BIND("_create_item_instance");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("create_item_instance"), &ItemTemplate::create_item_instance);
|
||||
|
||||
@ -568,7 +568,7 @@ void ItemTemplate::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_text_translation_key", "value"), &ItemTemplate::set_text_translation_key);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "text_translation_key"), "set_text_translation_key", "get_text_translation_key");
|
||||
|
||||
//GDVIRTUAL_BIND("_get_description");
|
||||
////GDVIRTUAL_BIND("_get_description");
|
||||
ClassDB::bind_method(D_METHOD("get_description"), &ItemTemplate::get_description);
|
||||
|
||||
//StatMods Property binds
|
||||
|
@ -278,7 +278,7 @@ void LootDataBase::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_item", "index"), &LootDataBase::get_item);
|
||||
ClassDB::bind_method(D_METHOD("set_item", "index", "value"), &LootDataBase::set_item);
|
||||
|
||||
GDVIRTUAL_BIND("_get_loot");
|
||||
//GDVIRTUAL_BIND("_get_loot");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_loot"), &LootDataBase::get_loot);
|
||||
ClassDB::bind_method(D_METHOD("_get_loot"), &LootDataBase::_get_loot);
|
||||
|
@ -176,7 +176,7 @@ void EntitySpeciesData::_validate_property(PropertyInfo &property) const {
|
||||
}
|
||||
|
||||
void EntitySpeciesData::_bind_methods() {
|
||||
GDVIRTUAL_BIND("_generate_name", "seed");
|
||||
////GDVIRTUAL_BIND("_generate_name", "seed");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("generate_name"), &EntitySpeciesData::generate_name);
|
||||
|
||||
|
@ -168,8 +168,8 @@ void SpeciesInstance::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "head_index"), "set_head_index", "get_head_index");
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &SpeciesInstance::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &SpeciesInstance::to_dict);
|
||||
|
@ -2348,10 +2348,10 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("cast_interrupts", "info"), &Spell::cast_interrupts);
|
||||
ClassDB::bind_method(D_METHOD("cast_finishs", "info"), &Spell::cast_finishs);
|
||||
|
||||
GDVIRTUAL_BIND("_cast_starts", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_cast_starts_triggered", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_cast_interrupts", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_cast_finishs", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_cast_starts", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_cast_starts_triggered", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_cast_interrupts", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_cast_finishs", "info", "SpellCastInfo");
|
||||
|
||||
//Aura Commands
|
||||
ClassDB::bind_method(D_METHOD("aura_sapply", "info"), &Spell::aura_sapply);
|
||||
@ -2362,13 +2362,13 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("aura_removes_dispell", "aura"), &Spell::aura_removes_dispell);
|
||||
ClassDB::bind_method(D_METHOD("aura_supdate", "aura", "delta"), &Spell::aura_supdate);
|
||||
|
||||
GDVIRTUAL_BIND("_aura_sapply", "info", "AuraApplyInfo");
|
||||
GDVIRTUAL_BIND("_aura_sdeapply", "info", "AuraData");
|
||||
GDVIRTUAL_BIND("_aura_sadd", "aura", "AuraData");
|
||||
GDVIRTUAL_BIND("_aura_sremove", "aura", "AuraData");
|
||||
GDVIRTUAL_BIND("_aura_removes_expired", "info", "AuraData");
|
||||
GDVIRTUAL_BIND("_aura_removes_dispell", "info", "AuraData");
|
||||
GDVIRTUAL_BIND("_aura_supdate", "info", "AuraData", "delta");
|
||||
//GDVIRTUAL_BIND("_aura_sapply", "info", "AuraApplyInfo");
|
||||
//GDVIRTUAL_BIND("_aura_sdeapply", "info", "AuraData");
|
||||
//GDVIRTUAL_BIND("_aura_sadd", "aura", "AuraData");
|
||||
//GDVIRTUAL_BIND("_aura_sremove", "aura", "AuraData");
|
||||
//GDVIRTUAL_BIND("_aura_removes_expired", "info", "AuraData");
|
||||
//GDVIRTUAL_BIND("_aura_removes_dispell", "info", "AuraData");
|
||||
//GDVIRTUAL_BIND("_aura_supdate", "info", "AuraData", "delta");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_aura_sapply", "info"), &Spell::_aura_sapply);
|
||||
ClassDB::bind_method(D_METHOD("_aura_sdeapply", "aura"), &Spell::_aura_sdeapply);
|
||||
@ -2384,23 +2384,23 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("son_spell_hit", "info"), &Spell::son_spell_hit);
|
||||
ClassDB::bind_method(D_METHOD("son_physics_process", "info", "delta"), &Spell::son_physics_process);
|
||||
|
||||
GDVIRTUAL_BIND("_son_cast_player_moved", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_son_cast_damage_received", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_son_spell_hit", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_son_physics_process", "info", "SpellCastInfo", "delta");
|
||||
//GDVIRTUAL_BIND("_son_cast_player_moved", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_son_cast_damage_received", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_son_spell_hit", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_son_physics_process", "info", "SpellCastInfo", "delta");
|
||||
|
||||
//Clientside Event Handlers
|
||||
GDVIRTUAL_BIND("_notification_scast", "what", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_scast", "what", "info", "SpellCastInfo");
|
||||
ClassDB::bind_method(D_METHOD("notification_scast", "what", "info"), &Spell::notification_scast);
|
||||
|
||||
GDVIRTUAL_BIND("_notification_ccast", "what", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_ccast", "what", "info", "SpellCastInfo");
|
||||
ClassDB::bind_method(D_METHOD("notification_ccast", "what", "info"), &Spell::notification_ccast);
|
||||
|
||||
//Aura EventHandlers
|
||||
GDVIRTUAL_BIND("_notification_saura", "what", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_notification_sheal", "what", "data", "AuraData", "data", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_notification_aura_scast", "what", "data", "AuraData", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_notification_sdamage", "what", "data", "AuraData", "data", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_notification_saura", "what", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_sheal", "what", "data", "AuraData", "data", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_notification_aura_scast", "what", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_sdamage", "what", "data", "AuraData", "data", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_saura", "what", "data"), &Spell::notification_saura);
|
||||
ClassDB::bind_method(D_METHOD("notification_sheal", "what", "aura", "info"), &Spell::notification_sheal);
|
||||
@ -2430,33 +2430,33 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_added", "data", "value"), &Spell::notification_sentity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_removed", "data", "value"), &Spell::notification_sentity_resource_removed);
|
||||
|
||||
GDVIRTUAL_BIND("_son_remove", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_son_remove_expired", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_son_remove_dispell", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_son_remove", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_son_remove_expired", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_son_remove_dispell", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sdeath", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_sdeath", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_scooldown_added", "data", "AuraData", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_scooldown_removed", "data", "AuraData", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_scategory_cooldown_added", "data", "AuraData", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_scategory_cooldown_removed", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scooldown_added", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scooldown_removed", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scategory_cooldown_added", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scategory_cooldown_removed", "data", "AuraData", "id", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sgcd_started", "data", "AuraData", "gcd");
|
||||
GDVIRTUAL_BIND("_notification_sgcd_finished", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_sgcd_started", "data", "AuraData", "gcd");
|
||||
//GDVIRTUAL_BIND("_notification_sgcd_finished", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_son_physics_process_aura", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_son_physics_process_aura", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sxp_gained", "data", "AuraData", "value");
|
||||
GDVIRTUAL_BIND("_notification_slevel_up", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_sxp_gained", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_slevel_up", "data", "AuraData", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sentity_resource_added", "data", "AuraData", "value");
|
||||
GDVIRTUAL_BIND("_notification_sentity_resource_removed", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_sentity_resource_added", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_sentity_resource_removed", "data", "AuraData", "value");
|
||||
|
||||
//Aura Clientside Event Handlers
|
||||
GDVIRTUAL_BIND("_notification_caura", "what", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_notification_cheal", "what", "data", "AuraData", "data", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_notification_aura_ccast", "what", "data", "AuraData", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_notification_cdamage", "what", "data", "AuraData", "data", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_notification_caura", "what", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_cheal", "what", "data", "AuraData", "data", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_notification_aura_ccast", "what", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_cdamage", "what", "data", "AuraData", "data", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_caura", "what", "data"), &Spell::notification_caura);
|
||||
ClassDB::bind_method(D_METHOD("notification_cheal", "what", "aura", "info"), &Spell::notification_cheal);
|
||||
@ -2479,45 +2479,45 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_added", "data", "value"), &Spell::notification_centity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_centity_resource_removed", "data", "value"), &Spell::notification_centity_resource_removed);
|
||||
|
||||
GDVIRTUAL_BIND("_con_cast_failed", "data", "AuraData", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_con_cast_started", "data", "AuraData", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_con_cast_state_changed", "data", "AuraData", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_con_cast_finished", "data", "AuraData", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_con_spell_cast_success", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_con_cast_failed", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_con_cast_started", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_con_cast_state_changed", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_con_cast_finished", "data", "AuraData", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_con_spell_cast_success", "data", "AuraData", "info", "SpellCastInfo");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_cdeath", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_cdeath", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_ccooldown_added", "data", "AuraData", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_ccooldown_removed", "data", "AuraData", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_ccategory_cooldown_added", "data", "AuraData", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_ccategory_cooldown_removed", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_ccooldown_added", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_ccooldown_removed", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_ccategory_cooldown_added", "data", "AuraData", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_ccategory_cooldown_removed", "data", "AuraData", "id", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_con_aura_added", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_con_aura_removed", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_con_aura_refresh", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_con_aura_added", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_con_aura_removed", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_con_aura_refresh", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_con_damage_dealt", "data", "AuraData", "info", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_con_dealt_damage", "data", "AuraData", "info", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_con_heal_dealt", "data", "AuraData", "info", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_con_dealt_heal", "data", "AuraData", "info", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_con_damage_dealt", "data", "AuraData", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_con_dealt_damage", "data", "AuraData", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_con_heal_dealt", "data", "AuraData", "info", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_con_dealt_heal", "data", "AuraData", "info", "SpellHealInfo");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_cgcd_started", "data", "AuraData", "gcd");
|
||||
GDVIRTUAL_BIND("_notification_cgcd_finished", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_cgcd_started", "data", "AuraData", "gcd");
|
||||
//GDVIRTUAL_BIND("_notification_cgcd_finished", "data", "AuraData");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_cxp_gained", "data", "AuraData", "value");
|
||||
GDVIRTUAL_BIND("_notification_clevel_up", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_cxp_gained", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_clevel_up", "data", "AuraData", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_centity_resource_added", "data", "AuraData", "value");
|
||||
GDVIRTUAL_BIND("_notification_centity_resource_removed", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_centity_resource_added", "data", "AuraData", "value");
|
||||
//GDVIRTUAL_BIND("_notification_centity_resource_removed", "data", "AuraData", "value");
|
||||
|
||||
//Equipment
|
||||
|
||||
GDVIRTUAL_BIND("_equip_should_deny", "data", "AuraData", "equip_slot", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_should_deny", "data", "AuraData", "equip_slot", "item", "ItemInstance");
|
||||
|
||||
GDVIRTUAL_BIND("_equip_son_success", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_son_fail", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_con_success", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_con_fail", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_son_success", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_son_fail", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_con_success", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_con_fail", "data", "AuraData", "equip_slot", "item", "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("equip_should_deny", "data", "equip_slot", "item"), &Spell::equip_should_deny);
|
||||
|
||||
@ -2530,20 +2530,20 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("calculate_initial_damage", "data"), &Spell::calculate_initial_damage);
|
||||
ClassDB::bind_method(D_METHOD("handle_spell_damage", "data"), &Spell::handle_spell_damage);
|
||||
|
||||
GDVIRTUAL_BIND("_calculate_initial_damage", "data", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_handle_spell_damage", "data", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_calculate_initial_damage", "data", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_handle_spell_damage", "data", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("calculate_initial_heal", "data"), &Spell::calculate_initial_heal);
|
||||
ClassDB::bind_method(D_METHOD("handle_spell_heal", "data"), &Spell::handle_spell_heal);
|
||||
|
||||
GDVIRTUAL_BIND("_calculate_initial_heal", "data", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_handle_spell_heal", "data", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_calculate_initial_heal", "data", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_handle_spell_heal", "data", "SpellHealInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("handle_projectile", "info"), &Spell::handle_projectile);
|
||||
ClassDB::bind_method(D_METHOD("handle_effect", "info"), &Spell::handle_effect);
|
||||
|
||||
GDVIRTUAL_BIND("_handle_projectile", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_handle_effect", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_handle_projectile", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_handle_effect", "info", "SpellCastInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("handle_gcd", "info"), &Spell::handle_gcd);
|
||||
ClassDB::bind_method(D_METHOD("handle_cooldown", "info"), &Spell::handle_cooldown);
|
||||
@ -2567,7 +2567,7 @@ void Spell::_bind_methods() {
|
||||
//Aura Calculations / Queries
|
||||
ClassDB::bind_method(D_METHOD("setup_aura_data", "data", "info"), &Spell::setup_aura_data);
|
||||
|
||||
GDVIRTUAL_BIND("_setup_aura_data", "data", "AuraData", "info", "AuraApplyInfo");
|
||||
//GDVIRTUAL_BIND("_setup_aura_data", "data", "AuraData", "info", "AuraApplyInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_setup_aura_data", "data", "info"), &Spell::_setup_aura_data);
|
||||
|
||||
@ -2577,10 +2577,10 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("aura_calculate_initial_damage", "aura_data", "info"), &Spell::aura_calculate_initial_damage);
|
||||
ClassDB::bind_method(D_METHOD("handle_aura_damage", "aura_data", "data"), &Spell::handle_aura_damage);
|
||||
|
||||
GDVIRTUAL_BIND("_aura_sapply_passives_damage_receive", "data", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_aura_sapply_passives_damage_deal", "data", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_aura_calculate_initial_damage", "data", "AuraData", "info", "AuraApplyInfo");
|
||||
GDVIRTUAL_BIND("_handle_aura_damage", "data", "AuraData", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_aura_sapply_passives_damage_receive", "data", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_aura_sapply_passives_damage_deal", "data", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_aura_calculate_initial_damage", "data", "AuraData", "info", "AuraApplyInfo");
|
||||
//GDVIRTUAL_BIND("_handle_aura_damage", "data", "AuraData", "info", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_aura_sapply_passives_damage_receive", "info"), &Spell::_aura_sapply_passives_damage_receive);
|
||||
ClassDB::bind_method(D_METHOD("_aura_sapply_passives_damage_deal", "info"), &Spell::_aura_sapply_passives_damage_deal);
|
||||
@ -2593,10 +2593,10 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("aura_calculate_initial_heal", "aura_data", "info"), &Spell::aura_calculate_initial_heal);
|
||||
ClassDB::bind_method(D_METHOD("handle_aura_heal", "aura_data", "data"), &Spell::handle_aura_heal);
|
||||
|
||||
GDVIRTUAL_BIND("_aura_sapply_passives_heal_receive", "info", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_aura_sapply_passives_heal_deal", "info", "SpellDamageInfo");
|
||||
GDVIRTUAL_BIND("_aura_calculate_initial_heal", "aura_data", "AuraData", "info", "AuraApplyInfo");
|
||||
GDVIRTUAL_BIND("_handle_aura_heal", "aura_data", "AuraData", "spell_heal_info", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_aura_sapply_passives_heal_receive", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_aura_sapply_passives_heal_deal", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_aura_calculate_initial_heal", "aura_data", "AuraData", "info", "AuraApplyInfo");
|
||||
//GDVIRTUAL_BIND("_handle_aura_heal", "aura_data", "AuraData", "spell_heal_info", "SpellHealInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_aura_sapply_passives_heal_receive", "info"), &Spell::_aura_sapply_passives_heal_receive);
|
||||
ClassDB::bind_method(D_METHOD("_aura_sapply_passives_heal_deal", "info"), &Spell::_aura_sapply_passives_heal_deal);
|
||||
@ -2696,7 +2696,7 @@ void Spell::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "spells_cast_on_learn", PROPERTY_HINT_NONE, "17/17:Spell", PROPERTY_USAGE_DEFAULT, "Spell"), "spells_cast_on_learn_set", "spells_cast_on_learn_get");
|
||||
|
||||
ADD_GROUP("Texts", "text");
|
||||
GDVIRTUAL_BIND("_get_description", "class_level", "character_level");
|
||||
//GDVIRTUAL_BIND("_get_description", "class_level", "character_level");
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "text_name"), "set_name", "get_name");
|
||||
|
||||
@ -2938,7 +2938,7 @@ void Spell::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("aura_set_visual_spell_effects", "value"), &Spell::aura_set_visual_spell_effects);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "aura_visual_spell_effects", PROPERTY_HINT_RESOURCE_TYPE, "SpellEffectVisual"), "aura_set_visual_spell_effects", "aura_get_visual_spell_effects");
|
||||
|
||||
GDVIRTUAL_BIND("_aura_get_description", "class_level", "character_level");
|
||||
//GDVIRTUAL_BIND("_aura_get_description", "class_level", "character_level");
|
||||
|
||||
ADD_GROUP("Aura Texts", "aura_text");
|
||||
ClassDB::bind_method(D_METHOD("aura_get_text_translation_key"), &Spell::aura_get_text_translation_key);
|
||||
|
@ -363,6 +363,6 @@ void ESSResourceDB::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("clear"), &ESSResourceDB::clear);
|
||||
ClassDB::bind_method(D_METHOD("add_entity_resource_db", "other"), &ESSResourceDB::add_entity_resource_db);
|
||||
|
||||
//GDVIRTUAL_BIND("_initialize");
|
||||
////GDVIRTUAL_BIND("_initialize");
|
||||
ClassDB::bind_method(D_METHOD("initialize"), &ESSResourceDB::initialize);
|
||||
}
|
||||
|
@ -354,13 +354,13 @@ EntityAI::~EntityAI() {
|
||||
}
|
||||
|
||||
void EntityAI::_bind_methods() {
|
||||
GDVIRTUAL_BIND("_on_set_owner");
|
||||
//GDVIRTUAL_BIND("_on_set_owner");
|
||||
|
||||
GDVIRTUAL_BIND("_update", "delta");
|
||||
GDVIRTUAL_BIND("_pet_update", "delta");
|
||||
//GDVIRTUAL_BIND("_update", "delta");
|
||||
//GDVIRTUAL_BIND("_pet_update", "delta");
|
||||
|
||||
GDVIRTUAL_BIND("_move", "delta");
|
||||
GDVIRTUAL_BIND("_pet_move", "delta");
|
||||
//GDVIRTUAL_BIND("_move", "delta");
|
||||
//GDVIRTUAL_BIND("_pet_move", "delta");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_enabled"), &EntityAI::get_enabled);
|
||||
ClassDB::bind_method(D_METHOD("set_enabled", "value"), &EntityAI::set_enabled);
|
||||
@ -399,10 +399,10 @@ void EntityAI::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_on_set_owner"), &EntityAI::_on_set_owner);
|
||||
|
||||
//EventHandlers
|
||||
GDVIRTUAL_BIND("_notification_saura", "what", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_notification_sheal", "what", "info", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_notification_scast", "what", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_notification_sdamage", "what", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_notification_saura", "what", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_sheal", "what", "info", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_notification_scast", "what", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_sdamage", "what", "info", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_saura", "what", "data"), &EntityAI::notification_saura);
|
||||
ClassDB::bind_method(D_METHOD("notification_sheal", "what", "info"), &EntityAI::notification_sheal);
|
||||
@ -426,31 +426,31 @@ void EntityAI::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_added", "resource"), &EntityAI::notification_sentity_resource_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_sentity_resource_removed", "resource"), &EntityAI::notification_sentity_resource_removed);
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sdeath", "data", "Entity");
|
||||
//GDVIRTUAL_BIND("_notification_sdeath", "data", "Entity");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_scooldown_added", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_scooldown_removed", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scooldown_added", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scooldown_removed", "id", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_scategory_cooldown_added", "id", "value");
|
||||
GDVIRTUAL_BIND("_notification_scategory_cooldown_removed", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scategory_cooldown_added", "id", "value");
|
||||
//GDVIRTUAL_BIND("_notification_scategory_cooldown_removed", "id", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sgcd_started", "entity", "Entity", "gcd");
|
||||
GDVIRTUAL_BIND("_notification_sgcd_finished", "entity", "Entity");
|
||||
//GDVIRTUAL_BIND("_notification_sgcd_started", "entity", "Entity", "gcd");
|
||||
//GDVIRTUAL_BIND("_notification_sgcd_finished", "entity", "Entity");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sxp_gained", "entity", "Entity", "value");
|
||||
GDVIRTUAL_BIND("_notification_slevel_up", "entity", "Entity", "value");
|
||||
//GDVIRTUAL_BIND("_notification_sxp_gained", "entity", "Entity", "value");
|
||||
//GDVIRTUAL_BIND("_notification_slevel_up", "entity", "Entity", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sentity_resource_added", "resource", "EntityResource");
|
||||
GDVIRTUAL_BIND("_notification_sentity_resource_removed", "resource", "EntityResource");
|
||||
//GDVIRTUAL_BIND("_notification_sentity_resource_added", "resource", "EntityResource");
|
||||
//GDVIRTUAL_BIND("_notification_sentity_resource_removed", "resource", "EntityResource");
|
||||
|
||||
//Equipment
|
||||
|
||||
GDVIRTUAL_BIND("_equip_should_deny", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "equip_slot", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_should_deny", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "equip_slot", "item", "ItemInstance");
|
||||
|
||||
GDVIRTUAL_BIND("_equip_son_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_son_fail", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_con_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_con_fail", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_son_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_son_fail", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_con_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_con_fail", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("equip_should_deny", "entity", "equip_slot", "item"), &EntityAI::equip_should_deny_bind);
|
||||
|
||||
|
@ -444,8 +444,8 @@ void AuraData::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "slow"), "set_slow", "get_slow");
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &AuraData::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &AuraData::to_dict);
|
||||
@ -453,8 +453,8 @@ void AuraData::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_to_dict"), &AuraData::_to_dict);
|
||||
|
||||
//Networking
|
||||
GDVIRTUAL_BIND("_to_send_array");
|
||||
GDVIRTUAL_BIND("_from_send_array", "arr");
|
||||
//GDVIRTUAL_BIND("_to_send_array");
|
||||
//GDVIRTUAL_BIND("_from_send_array", "arr");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("to_send_array"), &AuraData::to_send_array);
|
||||
ClassDB::bind_method(D_METHOD("from_send_array", "arr"), &AuraData::from_send_array);
|
||||
|
@ -378,7 +378,7 @@ EntityClassData::~EntityClassData() {
|
||||
}
|
||||
|
||||
void EntityClassData::_bind_methods() {
|
||||
GDVIRTUAL_BIND("_setup_resources", "entity", "Entity");
|
||||
//GDVIRTUAL_BIND("_setup_resources", "entity", "Entity");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_id"), &EntityClassData::get_id);
|
||||
ClassDB::bind_method(D_METHOD("set_id", "value"), &EntityClassData::set_id);
|
||||
@ -498,7 +498,7 @@ void EntityClassData::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_ais", "auras"), &EntityClassData::set_ais);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "ais", PROPERTY_HINT_NONE, "17/17:EntityAI", PROPERTY_USAGE_DEFAULT, "EntityAI"), "set_ais", "get_ais");
|
||||
|
||||
GDVIRTUAL_BIND("_get_ai_instance");
|
||||
//GDVIRTUAL_BIND("_get_ai_instance");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_ai_instance"), &EntityClassData::get_ai_instance);
|
||||
ClassDB::bind_method(D_METHOD("_get_ai_instance"), &EntityClassData::_get_ai_instance);
|
||||
|
@ -265,8 +265,8 @@ void EntityData::_validate_property(PropertyInfo &property) const {
|
||||
|
||||
void EntityData::_bind_methods() {
|
||||
//Interactions
|
||||
GDVIRTUAL_BIND("_cans_interact", "entity", "Entity");
|
||||
GDVIRTUAL_BIND("_sinteract", "entity", "Entity");
|
||||
//GDVIRTUAL_BIND("_cans_interact", "entity", "Entity");
|
||||
//GDVIRTUAL_BIND("_sinteract", "entity", "Entity");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("cans_interact", "entity"), &EntityData::cans_interact_bind);
|
||||
ClassDB::bind_method(D_METHOD("sinteract", "entity"), &EntityData::sinteract_bind);
|
||||
@ -314,7 +314,7 @@ void EntityData::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "species_instance", PROPERTY_HINT_RESOURCE_TYPE, "SpeciesInstance"), "set_species_instance", "get_species_instance");
|
||||
|
||||
//AI
|
||||
GDVIRTUAL_BIND("_get_ai_instance");
|
||||
//GDVIRTUAL_BIND("_get_ai_instance");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_ai"), &EntityData::get_ai);
|
||||
ClassDB::bind_method(D_METHOD("set_ai", "value"), &EntityData::set_ai);
|
||||
@ -329,7 +329,7 @@ void EntityData::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "loot_db", PROPERTY_HINT_RESOURCE_TYPE, "LootDataBase"), "set_loot_db", "get_loot_db");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("generate_name"), &EntityData::generate_name);
|
||||
GDVIRTUAL_BIND("_generate_name");
|
||||
//GDVIRTUAL_BIND("_generate_name");
|
||||
|
||||
ADD_GROUP("Immunities", "immunity");
|
||||
ClassDB::bind_method(D_METHOD("get_immunity_flags"), &EntityData::get_immunity_flags);
|
||||
|
@ -50,8 +50,8 @@ EntityDataContainer::~EntityDataContainer() {
|
||||
|
||||
void EntityDataContainer::_bind_methods() {
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("from_dict", "dict");
|
||||
GDVIRTUAL_BIND("to_dict", "dict");
|
||||
//GDVIRTUAL_BIND("from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("to_dict", "dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &EntityDataContainer::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &EntityDataContainer::to_dict);
|
||||
|
@ -6764,8 +6764,8 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("onc_open_winow_request", PropertyInfo(Variant::INT, "window_id")));
|
||||
|
||||
//setup
|
||||
GDVIRTUAL_BIND("_setup");
|
||||
GDVIRTUAL_BIND("_initialize");
|
||||
//GDVIRTUAL_BIND("_setup");
|
||||
//GDVIRTUAL_BIND("_initialize");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_initialize"), &Entity::_initialize);
|
||||
ClassDB::bind_method(D_METHOD("setup", "info"), &Entity::setup);
|
||||
@ -6812,19 +6812,19 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_cstat_changed", "stat"), &Entity::notification_cstat_changed);
|
||||
|
||||
//EventHandlers
|
||||
GDVIRTUAL_BIND("_notification_sdeath");
|
||||
//GDVIRTUAL_BIND("_notification_sdeath");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sgcd_started", "gcd");
|
||||
GDVIRTUAL_BIND("_notification_sgcd_finished");
|
||||
//GDVIRTUAL_BIND("_notification_sgcd_started", "gcd");
|
||||
//GDVIRTUAL_BIND("_notification_sgcd_finished");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sxp_gained", "value");
|
||||
GDVIRTUAL_BIND("_notification_slevel_up", "value");
|
||||
//GDVIRTUAL_BIND("_notification_sxp_gained", "value");
|
||||
//GDVIRTUAL_BIND("_notification_slevel_up", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sentity_resource_added", "resource", "EntityResource");
|
||||
GDVIRTUAL_BIND("_notification_sentity_resource_removed", "resource", "EntityResource");
|
||||
//GDVIRTUAL_BIND("_notification_sentity_resource_added", "resource", "EntityResource");
|
||||
//GDVIRTUAL_BIND("_notification_sentity_resource_removed", "resource", "EntityResource");
|
||||
|
||||
GDVIRTUAL_BIND("_son_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
GDVIRTUAL_BIND("_con_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
//GDVIRTUAL_BIND("_son_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
//GDVIRTUAL_BIND("_con_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
|
||||
//Serverside
|
||||
ADD_SIGNAL(MethodInfo("notification_sdamage", PropertyInfo(Variant::INT, "what"), PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "SpellDamageInfo")));
|
||||
@ -6832,10 +6832,10 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("notification_scast", PropertyInfo(Variant::INT, "what"), PropertyInfo(Variant::OBJECT, "spell_cast_info", PROPERTY_HINT_RESOURCE_TYPE, "SpellCastInfo")));
|
||||
ADD_SIGNAL(MethodInfo("notification_saura", PropertyInfo(Variant::INT, "what"), PropertyInfo(Variant::OBJECT, "aura_data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
GDVIRTUAL_BIND("_notification_saura", "what", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_notification_sheal", "what", "info", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_notification_scast", "what", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_notification_sdamage", "what", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_notification_saura", "what", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_sheal", "what", "info", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_notification_scast", "what", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_sdamage", "what", "info", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_saura", "what", "data"), &Entity::notification_saura);
|
||||
ClassDB::bind_method(D_METHOD("notification_sheal", "what", "info"), &Entity::notification_sheal);
|
||||
@ -6848,10 +6848,10 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("notification_ccast", PropertyInfo(Variant::INT, "what"), PropertyInfo(Variant::OBJECT, "spell_cast_info", PROPERTY_HINT_RESOURCE_TYPE, "SpellCastInfo")));
|
||||
ADD_SIGNAL(MethodInfo("notification_caura", PropertyInfo(Variant::INT, "what"), PropertyInfo(Variant::OBJECT, "aura_data", PROPERTY_HINT_RESOURCE_TYPE, "AuraData")));
|
||||
|
||||
GDVIRTUAL_BIND("_notification_caura", "what", "data", "AuraData");
|
||||
GDVIRTUAL_BIND("_notification_cheal", "what", "info", "SpellHealInfo");
|
||||
GDVIRTUAL_BIND("_notification_ccast", "what", "info", "SpellCastInfo");
|
||||
GDVIRTUAL_BIND("_notification_cdamage", "what", "info", "SpellDamageInfo");
|
||||
//GDVIRTUAL_BIND("_notification_caura", "what", "data", "AuraData");
|
||||
//GDVIRTUAL_BIND("_notification_cheal", "what", "info", "SpellHealInfo");
|
||||
//GDVIRTUAL_BIND("_notification_ccast", "what", "info", "SpellCastInfo");
|
||||
//GDVIRTUAL_BIND("_notification_cdamage", "what", "info", "SpellDamageInfo");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_caura", "what", "data"), &Entity::notification_caura);
|
||||
ClassDB::bind_method(D_METHOD("notification_cheal", "what", "info"), &Entity::notification_cheal);
|
||||
@ -6876,8 +6876,8 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("setc_free_class_talent_points", "value"), &Entity::setc_free_class_talent_points);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "cfree_class_talent_points", PROPERTY_HINT_NONE, "", 0), "setc_free_class_talent_points", "getc_free_class_talent_points");
|
||||
|
||||
GDVIRTUAL_BIND("_class_talent_sreceive_learn_request", "spec_index", "class_talent_row", "class_talent_culomn");
|
||||
GDVIRTUAL_BIND("_class_talent_sreceive_reset_request");
|
||||
//GDVIRTUAL_BIND("_class_talent_sreceive_learn_request", "spec_index", "class_talent_row", "class_talent_culomn");
|
||||
//GDVIRTUAL_BIND("_class_talent_sreceive_reset_request");
|
||||
|
||||
ADD_SIGNAL(MethodInfo("sclass_talent_learned", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "class_talent_id")));
|
||||
ADD_SIGNAL(MethodInfo("cclass_talent_learned", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "class_talent_id")));
|
||||
@ -6885,11 +6885,11 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("sclass_talent_reset", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
ADD_SIGNAL(MethodInfo("cclass_talent_reset", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
GDVIRTUAL_BIND("_son_class_talent_learned", "class_talent_id");
|
||||
GDVIRTUAL_BIND("_con_class_talent_learned", "class_talent_id");
|
||||
//GDVIRTUAL_BIND("_son_class_talent_learned", "class_talent_id");
|
||||
//GDVIRTUAL_BIND("_con_class_talent_learned", "class_talent_id");
|
||||
|
||||
GDVIRTUAL_BIND("_son_class_talent_reset");
|
||||
GDVIRTUAL_BIND("_con_class_talent_reset");
|
||||
//GDVIRTUAL_BIND("_son_class_talent_reset");
|
||||
//GDVIRTUAL_BIND("_con_class_talent_reset");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("class_talent_crequest_learn", "spec_index", "class_talent_row", "class_talent_culomn"), &Entity::class_talent_crequest_learn);
|
||||
ClassDB::bind_method(D_METHOD("class_talent_sreceive_learn_request", "spec_index", "class_talent_row", "class_talent_culomn"), &Entity::class_talent_sreceive_learn_request);
|
||||
@ -6930,8 +6930,8 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("setc_free_character_talent_points", "value"), &Entity::setc_free_character_talent_points);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "cfree_character_talent_points", PROPERTY_HINT_NONE, "", 0), "setc_free_character_talent_points", "getc_free_character_talent_points");
|
||||
|
||||
GDVIRTUAL_BIND("_character_talent_sreceive_learn_request", "spec_index", "character_talent_row", "character_talent_culomn");
|
||||
GDVIRTUAL_BIND("_character_talent_sreceive_reset_request");
|
||||
//GDVIRTUAL_BIND("_character_talent_sreceive_learn_request", "spec_index", "character_talent_row", "character_talent_culomn");
|
||||
//GDVIRTUAL_BIND("_character_talent_sreceive_reset_request");
|
||||
|
||||
ADD_SIGNAL(MethodInfo("scharacter_talent_learned", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "character_talent_id")));
|
||||
ADD_SIGNAL(MethodInfo("ccharacter_talent_learned", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "character_talent_id")));
|
||||
@ -6939,11 +6939,11 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("scharacter_talent_reset", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
ADD_SIGNAL(MethodInfo("ccharacter_talent_reset", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
GDVIRTUAL_BIND("_son_character_talent_learned", "character_talent_id");
|
||||
GDVIRTUAL_BIND("_con_character_talent_learned", "character_talent_id");
|
||||
//GDVIRTUAL_BIND("_son_character_talent_learned", "character_talent_id");
|
||||
//GDVIRTUAL_BIND("_con_character_talent_learned", "character_talent_id");
|
||||
|
||||
GDVIRTUAL_BIND("_son_character_talent_reset");
|
||||
GDVIRTUAL_BIND("_con_character_talent_reset");
|
||||
//GDVIRTUAL_BIND("_son_character_talent_reset");
|
||||
//GDVIRTUAL_BIND("_con_character_talent_reset");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("character_talent_crequest_learn", "spec_index", "character_talent_row", "character_talent_culomn"), &Entity::character_talent_crequest_learn);
|
||||
ClassDB::bind_method(D_METHOD("character_talent_sreceive_learn_request", "spec_index", "character_talent_row", "character_talent_culomn"), &Entity::character_talent_sreceive_learn_request);
|
||||
@ -6975,10 +6975,10 @@ void Entity::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::POOL_INT_ARRAY, "scharacter_talents", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_ENTITY_HIDDEN), "scharacter_talents_set", "scharacter_talents_get");
|
||||
|
||||
//Cooldowns
|
||||
GDVIRTUAL_BIND("notification_scooldown_added", "id", "value");
|
||||
GDVIRTUAL_BIND("notification_scooldown_removed", "id", "value");
|
||||
GDVIRTUAL_BIND("notification_scategory_cooldown_added", "id", "value");
|
||||
GDVIRTUAL_BIND("notification_scategory_cooldown_removed", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_scooldown_added", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_scooldown_removed", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_scategory_cooldown_added", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_scategory_cooldown_removed", "id", "value");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_added", "cooldown"), &Entity::notification_scooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_scooldown_removed", "cooldown"), &Entity::notification_scooldown_removed);
|
||||
@ -6986,30 +6986,30 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("notification_scategory_cooldown_removed", "category_cooldown"), &Entity::notification_scategory_cooldown_removed);
|
||||
|
||||
//Clientside EventHandlers
|
||||
GDVIRTUAL_BIND("_notification_cdeath");
|
||||
//GDVIRTUAL_BIND("_notification_cdeath");
|
||||
|
||||
GDVIRTUAL_BIND("notification_ccooldown_added", "id", "value");
|
||||
GDVIRTUAL_BIND("notification_ccooldown_removed", "id", "value");
|
||||
GDVIRTUAL_BIND("notification_ccategory_cooldown_added", "id", "value");
|
||||
GDVIRTUAL_BIND("notification_ccategory_cooldown_removed", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_ccooldown_added", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_ccooldown_removed", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_ccategory_cooldown_added", "id", "value");
|
||||
//GDVIRTUAL_BIND("notification_ccategory_cooldown_removed", "id", "value");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_added", "cooldown"), &Entity::notification_ccooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccooldown_removed", "cooldown"), &Entity::notification_ccooldown_removed);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_added", "category_cooldown"), &Entity::notification_ccategory_cooldown_added);
|
||||
ClassDB::bind_method(D_METHOD("notification_ccategory_cooldown_removed", "category_cooldown"), &Entity::notification_ccategory_cooldown_removed);
|
||||
|
||||
GDVIRTUAL_BIND("_notification_cgcd_started", "gcd");
|
||||
GDVIRTUAL_BIND("_notification_cgcd_finished");
|
||||
//GDVIRTUAL_BIND("_notification_cgcd_started", "gcd");
|
||||
//GDVIRTUAL_BIND("_notification_cgcd_finished");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_cxp_gained", "value");
|
||||
GDVIRTUAL_BIND("_notification_clevel_up", "value");
|
||||
//GDVIRTUAL_BIND("_notification_cxp_gained", "value");
|
||||
//GDVIRTUAL_BIND("_notification_clevel_up", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_notification_centity_resource_added", "resource", "EntityResource");
|
||||
GDVIRTUAL_BIND("_notification_centity_resource_removed", "resource", "EntityResource");
|
||||
//GDVIRTUAL_BIND("_notification_centity_resource_added", "resource", "EntityResource");
|
||||
//GDVIRTUAL_BIND("_notification_centity_resource_removed", "resource", "EntityResource");
|
||||
|
||||
GDVIRTUAL_BIND("_canc_interact");
|
||||
GDVIRTUAL_BIND("_cans_interact");
|
||||
GDVIRTUAL_BIND("_sinteract");
|
||||
//GDVIRTUAL_BIND("_canc_interact");
|
||||
//GDVIRTUAL_BIND("_cans_interact");
|
||||
//GDVIRTUAL_BIND("_sinteract");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("cast_spell_successc", "info"), &Entity::cast_spell_successc);
|
||||
ClassDB::bind_method(D_METHOD("cast_spell_successc_rpc", "data"), &Entity::cast_spell_successc_rpc);
|
||||
@ -7033,7 +7033,7 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("spell_casts", "spell_id"), &Entity::spell_casts);
|
||||
ClassDB::bind_method(D_METHOD("spell_crequest_cast", "spell_id"), &Entity::spell_crequest_cast);
|
||||
|
||||
GDVIRTUAL_BIND("_item_uses", "item_id");
|
||||
//GDVIRTUAL_BIND("_item_uses", "item_id");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("item_uses", "item_id"), &Entity::item_uses);
|
||||
ClassDB::bind_method(D_METHOD("item_crequest_use", "item_id"), &Entity::item_crequest_use);
|
||||
@ -7063,8 +7063,8 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("ssend_open_window", "window_id"), &Entity::ssend_open_window);
|
||||
ClassDB::bind_method(D_METHOD("copen_window", "window_id"), &Entity::copen_window);
|
||||
|
||||
GDVIRTUAL_BIND("_iss_target_in_interact_range");
|
||||
GDVIRTUAL_BIND("_isc_target_in_interact_range");
|
||||
//GDVIRTUAL_BIND("_iss_target_in_interact_range");
|
||||
//GDVIRTUAL_BIND("_isc_target_in_interact_range");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("iss_target_in_interact_range"), &Entity::iss_target_in_interact_range);
|
||||
ClassDB::bind_method(D_METHOD("isc_target_in_interact_range"), &Entity::isc_target_in_interact_range);
|
||||
@ -7126,14 +7126,14 @@ void Entity::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "sauras", PROPERTY_HINT_NONE, "17/17:AuraData", PROPERTY_USAGE_ENTITY_HIDDEN, "AuraData"), "sauras_set", "sauras_get");
|
||||
|
||||
//Hooks
|
||||
GDVIRTUAL_BIND("_moved");
|
||||
//GDVIRTUAL_BIND("_moved");
|
||||
ClassDB::bind_method(D_METHOD("moved"), &Entity::moved);
|
||||
|
||||
ADD_SIGNAL(MethodInfo("notification_cmouse_entered"));
|
||||
ADD_SIGNAL(MethodInfo("notification_cmouse_exited"));
|
||||
|
||||
GDVIRTUAL_BIND("_notification_cmouse_enter");
|
||||
GDVIRTUAL_BIND("_notification_cmouse_exit");
|
||||
//GDVIRTUAL_BIND("_notification_cmouse_enter");
|
||||
//GDVIRTUAL_BIND("_notification_cmouse_exit");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_cmouse_enter"), &Entity::notification_cmouse_enter);
|
||||
ClassDB::bind_method(D_METHOD("notification_cmouse_exit"), &Entity::notification_cmouse_exit);
|
||||
@ -7141,8 +7141,8 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("notification_ctargeted"));
|
||||
ADD_SIGNAL(MethodInfo("notification_cuntargeted"));
|
||||
|
||||
GDVIRTUAL_BIND("_notification_ctargeted");
|
||||
GDVIRTUAL_BIND("_notification_cuntargeted");
|
||||
//GDVIRTUAL_BIND("_notification_ctargeted");
|
||||
//GDVIRTUAL_BIND("_notification_cuntargeted");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("notification_ctargeted"), &Entity::notification_ctargeted);
|
||||
ClassDB::bind_method(D_METHOD("notification_cuntargeted"), &Entity::notification_cuntargeted);
|
||||
@ -7201,8 +7201,8 @@ void Entity::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "cseed", PROPERTY_HINT_NONE, "", 0), "setc_seed", "getc_seed");
|
||||
|
||||
//Interaction type
|
||||
GDVIRTUAL_BIND("_gets_relation_to", "to", "Entity");
|
||||
GDVIRTUAL_BIND("_getc_relation_to", "to", "Entity");
|
||||
//GDVIRTUAL_BIND("_gets_relation_to", "to", "Entity");
|
||||
//GDVIRTUAL_BIND("_getc_relation_to", "to", "Entity");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("gets_relation_to", "to"), &Entity::gets_relation_to_bind);
|
||||
ClassDB::bind_method(D_METHOD("_gets_relation_to", "to"), &Entity::_gets_relation_to);
|
||||
@ -7290,12 +7290,12 @@ void Entity::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("equip_con_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance"), PropertyInfo(Variant::OBJECT, "old_item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance"), PropertyInfo(Variant::INT, "bag_slot")));
|
||||
ADD_SIGNAL(MethodInfo("equip_con_fail", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::INT, "equip_slot"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance"), PropertyInfo(Variant::OBJECT, "old_item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance"), PropertyInfo(Variant::INT, "bag_slot")));
|
||||
|
||||
GDVIRTUAL_BIND("_equip_should_deny", "equip_slot", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_should_deny", "equip_slot", "item", "ItemInstance");
|
||||
|
||||
GDVIRTUAL_BIND("_equip_son_success", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_son_fail", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_con_success", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
GDVIRTUAL_BIND("_equip_con_fail", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_son_success", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_son_fail", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_con_success", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equip_con_fail", PropertyInfo(Variant::INT, "equip_slot", "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance", "old_item", "ItemInstance", "bag_slot");
|
||||
|
||||
ADD_SIGNAL(MethodInfo("equipment_changed", PropertyInfo(Variant::INT, "slot")));
|
||||
|
||||
@ -7306,7 +7306,7 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("equip_con_success", "equip_slot", "item", "old_item", "bag_slot"), &Entity::equip_con_success);
|
||||
ClassDB::bind_method(D_METHOD("equip_con_fail", "equip_slot", "item", "old_item", "bag_slot"), &Entity::equip_con_fail);
|
||||
|
||||
GDVIRTUAL_BIND("_equips", "equip_slot", "bag_slot");
|
||||
//GDVIRTUAL_BIND("_equips", "equip_slot", "bag_slot");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("equip_crequest", "equip_slot", "bag_slot"), &Entity::equip_crequest);
|
||||
ClassDB::bind_method(D_METHOD("equips", "equip_slot", "bag_slot"), &Entity::equips);
|
||||
@ -7318,13 +7318,13 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("equip_gets_slot", "index"), &Entity::equip_gets_slot);
|
||||
ClassDB::bind_method(D_METHOD("equip_getc_slot", "index"), &Entity::equip_getc_slot);
|
||||
|
||||
GDVIRTUAL_BIND("_equip_can_equip_item", "equip_slot", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_can_equip_item", "equip_slot", "item", "ItemInstance");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("equip_can_equip_item", "equip_slot", "item"), &Entity::equip_can_equip_item);
|
||||
ClassDB::bind_method(D_METHOD("_equip_can_equip_item", "equip_slot", "item"), &Entity::_equip_can_equip_item);
|
||||
|
||||
GDVIRTUAL_BIND("_equip_applys_item", "item", "ItemInstance");
|
||||
GDVIRTUAL_BIND("_equip_deapplys_item", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_applys_item", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_deapplys_item", "item", "ItemInstance");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("equip_applys_item", "item"), &Entity::equip_applys_item);
|
||||
ClassDB::bind_method(D_METHOD("equip_deapplys_item", "item"), &Entity::equip_deapplys_item);
|
||||
@ -7332,8 +7332,8 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_equip_applys_item", "item"), &Entity::_equip_applys_item);
|
||||
ClassDB::bind_method(D_METHOD("_equip_deapplys_item", "item"), &Entity::_equip_deapplys_item);
|
||||
|
||||
GDVIRTUAL_BIND("_equip_applyc_item", "item", "ItemInstance");
|
||||
GDVIRTUAL_BIND("_equip_deapplyc_item", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_applyc_item", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_equip_deapplyc_item", "item", "ItemInstance");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("cequip_applys_item", "item"), &Entity::equip_applyc_item);
|
||||
ClassDB::bind_method(D_METHOD("equip_deapplyc_item", "item"), &Entity::equip_deapplyc_item);
|
||||
@ -7547,7 +7547,7 @@ void Entity::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "sspells", PROPERTY_HINT_NONE, "17/17:Spell", PROPERTY_USAGE_ENTITY_HIDDEN, "Spell"), "sspells_set", "sspells_get");
|
||||
|
||||
//Crafting
|
||||
GDVIRTUAL_BIND("_crafts", "id");
|
||||
//GDVIRTUAL_BIND("_crafts", "id");
|
||||
|
||||
ADD_SIGNAL(MethodInfo("crafts_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance")));
|
||||
ADD_SIGNAL(MethodInfo("ccraft_success", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance")));
|
||||
@ -7616,7 +7616,7 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("instance_body"), &Entity::instance_body);
|
||||
ClassDB::bind_method(D_METHOD("on_body_changed"), &Entity::on_body_changed);
|
||||
|
||||
GDVIRTUAL_BIND("_body_changed");
|
||||
//GDVIRTUAL_BIND("_body_changed");
|
||||
ADD_SIGNAL(MethodInfo("body_changed", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));
|
||||
|
||||
//Transforms
|
||||
@ -7720,8 +7720,8 @@ void Entity::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("vendor_item_sell_crequest", "slot_id"), &Entity::vendor_item_sell_crequest);
|
||||
ClassDB::bind_method(D_METHOD("vendor_item_ssell", "slot_id"), &Entity::vendor_item_ssell);
|
||||
|
||||
GDVIRTUAL_BIND("_vendor_item_sbuy", "index", "count");
|
||||
GDVIRTUAL_BIND("_vendor_item_ssell", "slot_id");
|
||||
//GDVIRTUAL_BIND("_vendor_item_sbuy", "index", "count");
|
||||
//GDVIRTUAL_BIND("_vendor_item_ssell", "slot_id");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_vendor_item_sbuy", "index", "count"), &Entity::_vendor_item_sbuy);
|
||||
ClassDB::bind_method(D_METHOD("_vendor_item_ssell", "slot_id"), &Entity::_vendor_item_ssell);
|
||||
@ -7795,8 +7795,8 @@ void Entity::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "sai", PROPERTY_HINT_RESOURCE_TYPE, "EntityAI", PROPERTY_USAGE_ENTITY_HIDDEN), "sets_ai", "gets_ai");
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("is_deserialized"), &Entity::is_deserialized);
|
||||
|
||||
|
@ -432,25 +432,25 @@ void EntityResource::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("mods_changed"), &EntityResource::mods_changed);
|
||||
|
||||
GDVIRTUAL_BIND("_notification_sstat_changed", "statid", "curent");
|
||||
GDVIRTUAL_BIND("_notification_cstat_changed", "statid", "curent");
|
||||
//GDVIRTUAL_BIND("_notification_sstat_changed", "statid", "curent");
|
||||
//GDVIRTUAL_BIND("_notification_cstat_changed", "statid", "curent");
|
||||
|
||||
GDVIRTUAL_BIND("_ons_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
GDVIRTUAL_BIND("_onc_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
//GDVIRTUAL_BIND("_ons_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
//GDVIRTUAL_BIND("_onc_target_changed", "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity", "old_target", "Entity");
|
||||
|
||||
GDVIRTUAL_BIND("_ons_added", "entity", "Entity");
|
||||
GDVIRTUAL_BIND("_onc_added", "entity", "Entity");
|
||||
//GDVIRTUAL_BIND("_ons_added", "entity", "Entity");
|
||||
//GDVIRTUAL_BIND("_onc_added", "entity", "Entity");
|
||||
|
||||
GDVIRTUAL_BIND("_process_server", "delta");
|
||||
GDVIRTUAL_BIND("_process_client", "delta");
|
||||
//GDVIRTUAL_BIND("_process_server", "delta");
|
||||
//GDVIRTUAL_BIND("_process_client", "delta");
|
||||
|
||||
GDVIRTUAL_BIND("_stacking_mod_added", "value");
|
||||
GDVIRTUAL_BIND("_stacking_mod_removed", "value");
|
||||
//GDVIRTUAL_BIND("_stacking_mod_added", "value");
|
||||
//GDVIRTUAL_BIND("_stacking_mod_removed", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_non_stacking_mod_added", "value");
|
||||
GDVIRTUAL_BIND("_non_stacking_mod_removed", "value");
|
||||
//GDVIRTUAL_BIND("_non_stacking_mod_added", "value");
|
||||
//GDVIRTUAL_BIND("_non_stacking_mod_removed", "value");
|
||||
|
||||
GDVIRTUAL_BIND("_mods_changed");
|
||||
//GDVIRTUAL_BIND("_mods_changed");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("process_server", "delta"), &EntityResource::process_server);
|
||||
ClassDB::bind_method(D_METHOD("_process_server", "delta"), &EntityResource::_process_server);
|
||||
@ -458,12 +458,12 @@ void EntityResource::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("process_client", "delta"), &EntityResource::process_client);
|
||||
ClassDB::bind_method(D_METHOD("_process_client", "delta"), &EntityResource::_process_client);
|
||||
|
||||
GDVIRTUAL_BIND("_gets_update_string");
|
||||
GDVIRTUAL_BIND("_receivec_update_string", "str");
|
||||
//GDVIRTUAL_BIND("_gets_update_string");
|
||||
//GDVIRTUAL_BIND("_receivec_update_string", "str");
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &EntityResource::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &EntityResource::to_dict);
|
||||
|
@ -150,8 +150,8 @@ void EntitySkill::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "disabled"), "set_disabled", "get_disabled");
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &EntitySkill::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &EntitySkill::to_dict);
|
||||
|
@ -31,7 +31,7 @@ int LevelStatData::get_stat_diff(int main_stat, int old_level, int new_level) {
|
||||
|
||||
void LevelStatData::_bind_methods() {
|
||||
|
||||
GDVIRTUAL_BIND("_get_stat_diff", "main_stat", "old_level", "new_level");
|
||||
//GDVIRTUAL_BIND("_get_stat_diff", "main_stat", "old_level", "new_level");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_stat_diff", "stat", "old_level", "new_level"), &LevelStatData::get_stat_diff);
|
||||
}
|
||||
|
@ -75,8 +75,8 @@ AIFormation::AIFormation() {
|
||||
}
|
||||
|
||||
void AIFormation::_bind_methods() {
|
||||
GDVIRTUAL_BIND("_on_set_owner");
|
||||
GDVIRTUAL_BIND("_get_position", "slot_index");
|
||||
//GDVIRTUAL_BIND("_on_set_owner");
|
||||
//GDVIRTUAL_BIND("_get_position", "slot_index");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_owner"), &AIFormation::get_owner);
|
||||
ClassDB::bind_method(D_METHOD("set_owner", "entity"), &AIFormation::set_owner_bind);
|
||||
|
@ -388,21 +388,21 @@ Bag::~Bag() {
|
||||
}
|
||||
|
||||
void Bag::_bind_methods() {
|
||||
GDVIRTUAL_BIND("_add_item", "item", "ItemInstance");
|
||||
GDVIRTUAL_BIND("_add_item_at", "index", "item", "ItemInstance", "signal");
|
||||
GDVIRTUAL_BIND("_get_item", "index");
|
||||
GDVIRTUAL_BIND("_remove_item", "index");
|
||||
GDVIRTUAL_BIND("_swap_items", "item1_index", "item2_index");
|
||||
GDVIRTUAL_BIND("_can_add_item", "item", "ItemInstance");
|
||||
GDVIRTUAL_BIND("_get_item_count");
|
||||
GDVIRTUAL_BIND("_get_valid_item_count");
|
||||
GDVIRTUAL_BIND("_get_size");
|
||||
GDVIRTUAL_BIND("_set_size", "size");
|
||||
GDVIRTUAL_BIND("_is_full");
|
||||
GDVIRTUAL_BIND("_is_overburdened");
|
||||
GDVIRTUAL_BIND("_has_item", "item", "ItemTemplate", "count");
|
||||
GDVIRTUAL_BIND("_remove_items", "item", "ItemTemplate", "count");
|
||||
GDVIRTUAL_BIND("_change_item_equip", "slot_id", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_add_item", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_add_item_at", "index", "item", "ItemInstance", "signal");
|
||||
//GDVIRTUAL_BIND("_get_item", "index");
|
||||
//GDVIRTUAL_BIND("_remove_item", "index");
|
||||
//GDVIRTUAL_BIND("_swap_items", "item1_index", "item2_index");
|
||||
//GDVIRTUAL_BIND("_can_add_item", "item", "ItemInstance");
|
||||
//GDVIRTUAL_BIND("_get_item_count");
|
||||
//GDVIRTUAL_BIND("_get_valid_item_count");
|
||||
//GDVIRTUAL_BIND("_get_size");
|
||||
//GDVIRTUAL_BIND("_set_size", "size");
|
||||
//GDVIRTUAL_BIND("_is_full");
|
||||
//GDVIRTUAL_BIND("_is_overburdened");
|
||||
//GDVIRTUAL_BIND("_has_item", "item", "ItemTemplate", "count");
|
||||
//GDVIRTUAL_BIND("_remove_items", "item", "ItemTemplate", "count");
|
||||
//GDVIRTUAL_BIND("_change_item_equip", "slot_id", "item", "ItemInstance");
|
||||
|
||||
ADD_SIGNAL(MethodInfo("item_added", PropertyInfo(Variant::OBJECT, "bag", PROPERTY_HINT_RESOURCE_TYPE, "Bag"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance"), PropertyInfo(Variant::INT, "slot_id")));
|
||||
ADD_SIGNAL(MethodInfo("item_removed", PropertyInfo(Variant::OBJECT, "bag", PROPERTY_HINT_RESOURCE_TYPE, "Bag"), PropertyInfo(Variant::OBJECT, "item", PROPERTY_HINT_RESOURCE_TYPE, "ItemInstance"), PropertyInfo(Variant::INT, "slot_id")));
|
||||
@ -442,8 +442,8 @@ void Bag::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_remove_items", "item", "count"), &Bag::_remove_items);
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &Bag::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &Bag::to_dict);
|
||||
|
@ -326,7 +326,7 @@ void ESSMaterialCache::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("inc_ref_count"), &ESSMaterialCache::inc_ref_count);
|
||||
ClassDB::bind_method(D_METHOD("dec_ref_count"), &ESSMaterialCache::dec_ref_count);
|
||||
|
||||
GDVIRTUAL_BIND("_setup_material_albedo", "texture", "Texture");
|
||||
//GDVIRTUAL_BIND("_setup_material_albedo", "texture", "Texture");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("material_get", "index"), &ESSMaterialCache::material_get);
|
||||
ClassDB::bind_method(D_METHOD("material_lod_get", "index"), &ESSMaterialCache::material_lod_get);
|
||||
|
@ -227,8 +227,8 @@ void ProfileManager::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("keybinds_changed"));
|
||||
ADD_SIGNAL(MethodInfo("changed"));
|
||||
|
||||
GDVIRTUAL_BIND("_save");
|
||||
GDVIRTUAL_BIND("_load");
|
||||
//GDVIRTUAL_BIND("_save");
|
||||
//GDVIRTUAL_BIND("_load");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_save"), &ProfileManager::_save);
|
||||
ClassDB::bind_method(D_METHOD("_load"), &ProfileManager::_load);
|
||||
|
@ -551,7 +551,7 @@ void CharacterSkeleton2D::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_model_visual_count"), &CharacterSkeleton2D::get_model_visual_count);
|
||||
ClassDB::bind_method(D_METHOD("clear_model_visuals"), &CharacterSkeleton2D::clear_model_visuals);
|
||||
|
||||
GDVIRTUAL_BIND("_build_model");
|
||||
//GDVIRTUAL_BIND("_build_model");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_model_dirty"), &CharacterSkeleton2D::get_model_dirty);
|
||||
ClassDB::bind_method(D_METHOD("set_model_dirty", "value"), &CharacterSkeleton2D::set_model_dirty);
|
||||
@ -586,7 +586,7 @@ void CharacterSkeleton2D::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("attach_point_count"), &CharacterSkeleton2D::attach_point_count);
|
||||
|
||||
GDVIRTUAL_BIND("_common_attach_point_index_get", "point", PROPERTY_HINT_NONE, EntityEnums::BINDING_STRING_COMMON_CHARCATER_SKELETON_POINTS);
|
||||
//GDVIRTUAL_BIND("_common_attach_point_index_get", "point", PROPERTY_HINT_NONE, EntityEnums::BINDING_STRING_COMMON_CHARCATER_SKELETON_POINTS);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("common_attach_point_node_get", "point"), &CharacterSkeleton2D::common_attach_point_node_get);
|
||||
ClassDB::bind_method(D_METHOD("common_attach_point_add", "point", "scene"), &CharacterSkeleton2D::common_attach_point_add);
|
||||
|
@ -651,7 +651,7 @@ void CharacterSkeleton3D::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_model_visual_count"), &CharacterSkeleton3D::get_model_visual_count);
|
||||
ClassDB::bind_method(D_METHOD("clear_model_visuals"), &CharacterSkeleton3D::clear_model_visuals);
|
||||
|
||||
GDVIRTUAL_BIND("_build_model");
|
||||
//GDVIRTUAL_BIND("_build_model");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_model_dirty"), &CharacterSkeleton3D::get_model_dirty);
|
||||
ClassDB::bind_method(D_METHOD("set_model_dirty", "value"), &CharacterSkeleton3D::set_model_dirty);
|
||||
@ -700,7 +700,7 @@ void CharacterSkeleton3D::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("attach_point_count"), &CharacterSkeleton3D::attach_point_count);
|
||||
|
||||
GDVIRTUAL_BIND("_common_attach_point_index_get", "point", PROPERTY_HINT_NONE, EntityEnums::BINDING_STRING_COMMON_CHARCATER_SKELETON_POINTS);
|
||||
//GDVIRTUAL_BIND("_common_attach_point_index_get", "point", PROPERTY_HINT_NONE, EntityEnums::BINDING_STRING_COMMON_CHARCATER_SKELETON_POINTS);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("common_attach_point_node_get", "point"), &CharacterSkeleton3D::common_attach_point_node_get);
|
||||
ClassDB::bind_method(D_METHOD("common_attach_point_add", "point", "scene"), &CharacterSkeleton3D::common_attach_point_add);
|
||||
|
@ -49,7 +49,7 @@ ESSEntitySpawner::~ESSEntitySpawner() {
|
||||
}
|
||||
|
||||
void ESSEntitySpawner::_bind_methods() {
|
||||
GDVIRTUAL_BIND("_request_entity_spawn", "info", "EntityCreateInfo");
|
||||
//GDVIRTUAL_BIND("_request_entity_spawn", "info", "EntityCreateInfo");
|
||||
ADD_SIGNAL(MethodInfo("on_entity_spawn", PropertyInfo(Variant::OBJECT, "info", PROPERTY_HINT_RESOURCE_TYPE, "EntityCreateInfo")));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("request_entity_spawn", "info"), &ESSEntitySpawner::request_entity_spawn);
|
||||
|
@ -296,8 +296,8 @@ void EntityCreateInfo::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "created_entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity"), "set_created_entity", "get_created_entity");
|
||||
|
||||
//Serialization
|
||||
GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
GDVIRTUAL_BIND("_to_dict");
|
||||
//GDVIRTUAL_BIND("_from_dict", "dict");
|
||||
//GDVIRTUAL_BIND("_to_dict");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("from_dict", "dict"), &EntityCreateInfo::from_dict);
|
||||
ClassDB::bind_method(D_METHOD("to_dict"), &EntityCreateInfo::to_dict);
|
||||
|
Loading…
Reference in New Issue
Block a user