예제 #1
0
파일: Dat.cs 프로젝트: xerohour/scsharp
        protected int AddVariableBlock(int num_entries, DatVariableType var)
        {
            DatVariable new_variable = new DatVariable(var, offset, num_entries);

            int rv = variables.Count;

            variables.Add(new_variable);

            offset += new_variable.BlockSize();

            return(rv);
        }
예제 #2
0
파일: Dat.cs 프로젝트: carriercomm/scsharp
		protected int AddVariableBlock (int num_entries, DatVariableType var)
		{
			DatVariable new_variable = new DatVariable (var, offset, num_entries);

			int rv = variables.Count;

			variables.Add (new_variable);

			offset += new_variable.BlockSize ();

			return rv;
		}