# eCollisionableObjects
# Description
Enumeration values for collidable objects, representing types of objects that may cause collision on a skill path.
# How to use
std::vector<eCollisionableObjects> collisionObjects = { eCollisionableObjects::Minions, eCollisionableObjects::Heroes };
PredictionOutput result = Prediction::GetPrediction(target, 0.25f, 60.0f, 1800.0f, collisionObjects);
if (result.Hitchance == eHitChance::Collision)
{
// Collision objects exist on the skill path
}
# Properties
key | value | remarks |
---|---|---|
Minions | 0 | Minions |
Heroes | 1 | Heroes |
YasuoWall | 2 | Yasuo Wind Wall |
Walls | 3 | Terrain obstacles |
Allies | 4 | Allied units |