Skip to content

API

Reminder

Make sure to type the method correctly and give it the correct arguments it needs, otherwise it will fail!



Changed DictPlus.changed()

Creates a listener for when the dictionary given changes.

Parameters

DictPlus.changed(Dictionary):Connect(function(Key, NewValue) : RBXScriptSignal

end)
  • Key: The Key that has been modified - If deleted the NewValue will be nil
  • NewValue: As the name suggests it is the new value of the Key

Connection Arguments

Caution

This method returns an RBXScriptSignal. If not connected to - it will fail


Getn DictPlus.getn()

Returns a numerical value of the amount of keys in the dictionary provided.

Parameters

print(DictPlus.getn(Dictionary)) : Integer

Beta Methods

Caution

Such methods are not expected to work. They are currently in the process of testing / making. Until it is ready to be used, they remain here for usage and assessment.



Add DictPlus.add()

local DictionaryOne = {
    ["Gold Bars"] = 4,
    ["Healing Potions"] = 1,
    ["Cups of Coffee"] = 3000
}
local DictionaryTwo = {
    ["fireOrb"] = true,
    ["waterOrb"] = false,
    ["windOrb"] = true
}

DictPlus.add(DictionaryOne, DictionaryTwo)

Parameters

Comments