예제 #1
0
        /// <summary>
        /// Returns the world coordinates of a specific helper in a specific entity slot.
        /// </summary>
        /// <returns>The helper position.</returns>
        /// <param name="slot">Slot.</param>
        /// <param name="helperName">Helper name.</param>
        public Vector3 GetHelperPos(int slot, string helperName)
        {
            var statObj = NativeHandle.GetStatObj(slot);

            if (statObj != null)
            {
                return(statObj.GetHelperPos(helperName));
            }

            return(Vector3.Zero);
        }