Announcement

Collapse
No announcement yet.

FName Instance number logic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    FName Instance number logic

    Does anyone know the logic behind Instance Number assignment in FName? Why it is 1 or 2 or 3, what is the relation to the the string name itself ?

    #2
    The number portion is the instance of that string (index into a hash bucket list). Where as the other values are indices into a hash table based on the CRC of the string you provide. You can read through NameTypes.h / UnrealNames.cpp if you want to follow the code.
    Able Ability System - A high performance, robust ability system for UE4. Now Available!

    Comment

    Working...
    X