C# 클래스 DivineRightGame.ItemFactory.Object.MultiDictionary

A 'dictionary' which accepts duplicate keys. If a key is duplicate, it will pick a random value which has that key. This is slower than a real dictionary obviously.
파일 보기 프로젝트 열기: Haedrian/Divine-Right

공개 메소드들

메소드 설명
Add ( string key, List stringList ) : void

Adds an item to the MultiDictionary

MultiDictionary ( ) : System
this ( string key ) : List

Gets the item with the particular key. If the key is not found it will return null If more than one item has the same key, it will return one at random

메소드 상세

Add() 공개 메소드

Adds an item to the MultiDictionary
public Add ( string key, List stringList ) : void
key string
stringList List
리턴 void

MultiDictionary() 공개 메소드

public MultiDictionary ( ) : System
리턴 System

this() 공개 메소드

Gets the item with the particular key. If the key is not found it will return null If more than one item has the same key, it will return one at random
public this ( string key ) : List
key string
리턴 List