示例#1
0
 public void VisitUnicList(string name, uint offset, bool visible, int languages, uint pluginLine, string tooltip)
 {
     for (var i = 0; i < languages; i++)
     {
         var strings = LoadStringList(i, _tag);
         if (strings == null)
         {
             continue;
         }
         var fixupStrings = strings.Strings.Select(CreateFixupString).ToArray();
         var fixup        = new DataBlockUnicListFixup(i, (int)(offset + i * 4), fixupStrings);
         _blockStack.Peek()[0].UnicListFixups.Add(fixup);                 // These will never be in tag blocks and I don't want to deal with it
     }
 }
示例#2
0
		public void VisitUnicList(string name, uint offset, bool visible, int languages, uint pluginLine)
		{
			for (var i = 0; i < languages; i++)
			{
				var strings = LoadStringList(i, _tag);
				if (strings == null)
					continue;
				var fixupStrings = strings.Strings.Select(CreateFixupString).ToArray();
				var fixup = new DataBlockUnicListFixup(i, (int)(offset + i * 4), fixupStrings);
				_blockStack.Peek()[0].UnicListFixups.Add(fixup); // These will never be in tag blocks and I don't want to deal with it
			}
		}