Skip to content

'ItemID' has no member named 'GetTDBID' #115

@DarkFortuneTeller

Description

@DarkFortuneTeller
DFMainSystem.Get().DispatchItemConsumedEvent(TweakDBInterface.GetItemRecord(itemData.GetID().GetTDBID()), false);

now produces error:
'ItemID' has no member named 'GetTDBID'

Per @jac3km4 :

ItemId actually doesn't have an instance method with name GetTBID, the code is meant to dispatch a static method which is a special feature that's not implemented yet, but you can still call it directly ItemID.GetTBID(...), this will be fixed soon though and you can create an issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    backward compatibilityA feature isn't working in the newer version

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions