-- create DataCollection
-- create interface IPrototypesCollection.
-- refactor public function new(proto:LocationProto) -> public function new(proto:UnknownProto).
-- add implements IPrototypesCollection.
-- refactor @:noCompletion var _id2location:Map<Int, LocationData> -> var _locations:DataCollection<LocationData>