Example #1
0
 public BuffDefHandler(int custom = 0)
 {
     modName        = new Dictionary <int, string>(custom);
     assemblyByName = new DictionaryHandler <string, Assembly>(custom);
     assemblyByType = new DictionaryHandler <int, Assembly>(custom);
     ID             = new DictionaryHandler <string, int>(custom);
     globalAssembly = new ArrayList();
     globalModname  = new ArrayList();
 }
Example #2
0
 public ItemDefHandler(int size, int custom = 0)
 {
     placeFrame      = new DictionaryHandler <string, int>(custom);
     itemDef         = new T[size + custom];
     customItemDefs  = new Dictionary <int, T>();
     byName          = new Dictionary <string, T>(23);
     modName         = new Dictionary <string, string>(custom);
     assemblyByName  = new DictionaryHandler <string, Assembly>(custom);
     assemblyByType  = new DictionaryHandler <int, Assembly>(custom);
     pretendType     = new Dictionary <string, int>(custom);
     prefixType      = new Dictionary <string, int>(custom);
     globalAssembly  = new ArrayList();
     globalModname   = new ArrayList();
     playerLoad      = new Dictionary <int, string>(custom);
     worldLoad       = new Dictionary <int, string>(custom);
     drawPretendType = new Dictionary <string, int>(custom);
 }
Example #3
0
 public HoldStyleHandler()
 {
     ID    = new Dictionary <string, int>();
     style = new DictionaryHandler <int, IHoldStyle>();
 }