You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
The current architecture for Khana.cs uses Dictionary in a way that resembles Array for storing owned properties
public Dictionary<byte, Property> Portfolio {get; set;}
It is simply a weird way to register and is used to check whether a property is owned by someone by registering its Key as its PropertyID for... faster search?
One way to solve this would be to use Lists. i will research and see if its suitable
The text was updated successfully, but these errors were encountered:
The current architecture for
Khana.cs
usesDictionary
in a way that resemblesArray
for storing owned propertiesIt is simply a weird way to register and is used to check whether a property is owned by someone by registering its
Key
as itsPropertyID
for... faster search?One way to solve this would be to use Lists. i will research and see if its suitable
The text was updated successfully, but these errors were encountered: