Artemnsk / slackgametest

0 stars 0 forks source link

Share some storage with IAlterableGameActionMixedValues #82

Closed Artemnsk closed 6 years ago

Artemnsk commented 6 years ago

Appropriate type already exists btw: AlterableGAData

We must allow to store some arbitrary data in Firebase DB for any of IAlterableGameActionMixedValues (items/buffs/debuffs) and in code of course.

Thus, this storage is private(protected) for GameAction. It creates appropriate entry for each IAlterableGameActionMixedValues by some of it's ID. And in the object by key we can store another object of any type which is used across any alterGameActionMixedValue() OR alterBeingUsedInGameActionMixedValue() calls.