Example #1
0
        // FUNCTIONS

        public void loadFile(List <byte> byteFile)
        {
            DDD_techprm_File readFile = new DDD_techprm_File(byteFile);

            file.entries.Clear();
            foreach (DDD_techprm_Entry entry in readFile.entries)
            {
                file.entries.Add(entry);
            }
        }
Example #2
0
        // CONSTRUCTORS

        public DDD_techprmHandler(MainSocket mainSocketIn, bool isPlayerIn) : base(mainSocketIn, Enums.ProcessType.DDD_EGS)
        {
            file     = new DDD_techprm_File();
            isPlayer = isPlayerIn;
            if (isPlayer)
            {
                fileAddress = (long)DDD_Pointers.TECHPRMP_MOD_EGS;
            }
            else
            {
                fileAddress = (long)DDD_Pointers.TECHPRM_MOD_EGS;
            }
        }