//Hook at start of method, override result if not null (http://prntscr.com/dqv0zy) internal static string GetString(int itemType, LocalisationEnums.StringBanks itemEnum) { var lookupEvent = new StringLookupEvent(itemEnum, itemType); OnStringLookup?.Invoke(lookupEvent); return(lookupEvent.Result); }
public StringLookupEvent(LocalisationEnums.StringBanks type, int value) { StringBank = type; EnumValue = value; }