Add "texture" to Zone.SetEntityAttribute

This commit is contained in:
Akkadius 2014-12-08 05:39:29 -06:00
parent c5498c66fa
commit f662141f86

View File

@ -310,7 +310,7 @@ void handle_rc_get_entity_attributes(const std::string &method, const std::strin
}
}
/* Client -> Server */
/* Client -> Server :: Zone.SetEntityAttribute */
void handle_rc_set_entity_attribute(const std::string &method, const std::string &connection_id, const std::string &request_id, const std::vector<std::string> &params) {
std::string error;
std::map<std::string, std::string> res;
@ -327,5 +327,6 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
if (params[1] == "race"){ ent->SendIllusionPacket(atoi(params[2].c_str())); }
if (params[1] == "appearance_effect"){ ent->SendAppearanceEffect(atoi(params[2].c_str()), 0, 0, 0, 0); }
if (params[1] == "size"){ ent->ChangeSize(atoi(params[2].c_str())); }
if (params[1] == "texture"){ ent->SendIllusionPacket(0, 0xFF, atoi(params[2].c_str()), 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0); }
}
}