setShortName() public method

public setShortName ( string name ) : void
name string
return void
示例#1
0
        public void loadClothingDB(string path)
        {
            Output.Write("Loading Clothing..");

            ArrayList itemRSIMap = loadCSV(path, ';');

            int linecount = 1;

            foreach (string[] data in itemRSIMap)
            {
                if (linecount > 1)
                {
                    //Output.WriteLine("Show Colums for Line : " + linecount.ToString() + " GOID:  " + data[1].ToString() + " Name " + data[0].ToString());

                    ClothingItem clothItem = new ClothingItem();

                    clothItem.setGoidDecimal(Convert.ToUInt16(data[0]));
                    clothItem.setClothesType(data[1]);
                    clothItem.setShortName(data[2]);
                    clothItem.setItemName(data[3]);
                    clothItem.setModelId(Convert.ToUInt16(data[4]));
                    clothItem.setColorId(Convert.ToUInt16(data[5]));
                    ClothingRSIDB.Add(clothItem);
                }

                linecount++;
            }
        }
示例#2
0
        public void loadClothingDB(string path)
        {
            Output.Write("Loading Clothing..");

            ArrayList itemRSIMap = loadCSV(path, ';');

            int linecount = 1;

            foreach (string[] data in itemRSIMap)
            {
                if (linecount > 1)
                {
                    //Output.WriteLine("Show Colums for Line : " + linecount.ToString() + " GOID:  " + data[1].ToString() + " Name " + data[0].ToString());

                    ClothingItem clothItem = new ClothingItem();

                    clothItem.setGoidDecimal(Convert.ToUInt16(data[0]));

                    // As loading the Endians doesnt work well and as we dont need them really just ignored it!
                    //clothItem.setGoidLittleEndian(Convert.ToByte(data[1].ToString()));
                    //clothItem.setGoidBigEndian(Convert.ToByte(data[2].ToString()));
                    clothItem.setClothesType(data[3]);
                    clothItem.setShortName(data[4]);
                    clothItem.setItemName(data[5]);
                    clothItem.setModelId(Convert.ToUInt16(data[6]));
                    clothItem.setColorId(Convert.ToUInt16(data[7]));
                    ClothingRSIDB.Add(clothItem);
                }

                linecount++;
            }
        }
示例#3
0
        public void loadClothingDB(string path)
        {
            Output.Write("Loading Clothing..");

            ArrayList itemRSIMap = loadCSV(path,';');

            int linecount = 1;
            foreach (string[] data in itemRSIMap)
            {

                if (linecount > 1)
                {
                    //Output.WriteLine("Show Colums for Line : " + linecount.ToString() + " GOID:  " + data[1].ToString() + " Name " + data[0].ToString());

                    ClothingItem clothItem = new ClothingItem();

                    clothItem.setGoidDecimal(Convert.ToUInt16(data[0].ToString()));

                    // As loading the Endians doesnt work well and as we dont need them really just ignored it!
                    //clothItem.setGoidLittleEndian(Convert.ToByte(data[1].ToString()));
                    //clothItem.setGoidBigEndian(Convert.ToByte(data[2].ToString()));
                    clothItem.setClothesType(data[3].ToString());
                    clothItem.setShortName(data[4].ToString());
                    clothItem.setItemName(data[5].ToString());
                    clothItem.setModelId(Convert.ToUInt16(data[6].ToString()));
                    clothItem.setColorId(Convert.ToUInt16(data[7].ToString()));
                    this.ClothingRSIDB.Add(clothItem);

                }

                linecount++;
            }
        }