示例#1
0
        internal static STUInstance[] GetInstances(ulong guid, CASCHandler handler, Dictionary <ulong, Record> map)
        {
            Stream str = Util.OpenFile(map[guid], handler);
            ISTU   stu = ISTU.NewInstance(str, uint.MaxValue);

            return(stu.Instances.ToArray());
        }
示例#2
0
        internal static string GetOWString(ulong guid, CASCHandler handler, Dictionary <ulong, Record> map)
        {
            if (guid == 0 || !map.ContainsKey(guid))
            {
                return(null);
            }
            Stream   str = Util.OpenFile(map[guid], handler);
            OWString ows = new OWString(str);

            return(ows);
        }