Пример #1
0
        // TODO

        public GCUpdateInfo(PCInfo pcinfo2)
        {
            this.ID = PacketID.GCUpdateInfo;

            this.PCInfo = pcinfo2;

            this.InventoryInfo = new InventoryInfo();
            this.GearInfo      = new GearInfo();

            GearSlotInfo gsi1 = new GearSlotInfo();

            /*gsi1.ObjectID = 0x0B4F0;
             * gsi1.ItemClass = 19;
             * gsi1.ItemType = 1;
             * gsi1.SlotID = 0;
             * this.GearInfo.GearSlotInfoList.Add(gsi1);*/

            this.ExtraInfo = new ExtraInfo();

            /*ExtraSlotInfo esi1 = new ExtraSlotInfo();
             * esi1.ObjectID = 0x0B4F0;
             * esi1.ItemClass = 1;
             * esi1.ItemType = 1;
             *
             * this.ExtraInfo.ExtraSlotInfoList.Add(esi1)*/;

            this.EffectInfo = new EffectInfo();
            EffectInfo.Status a;
            a.val1 = 0;
            a.val2 = 0;
            this.EffectInfo.EList.Add(a);

            this.ZoneID = 12; //12;5001
            this.ZoneX  = 30; // 117;
            this.ZoneY  = 22; //145;

            this.GameTime = new GameTime();

            this.Weather = Weather.WEATHER_RAINY;

            this.DarkLevel  = 0;
            this.LightLevel = 0;

            this.NPCTypeList     = new List <ushort>();
            this.MonsterTypeList = new List <ushort>();

            this.NPCInfoList = new List <NPCInfo>();

            this.Premium = 0;

            this.SMSCharge = 0;

            this.NicknameInfo = new NicknameInfo();

            this.NonPK = 0x0;

            this.GuildUnionID       = 0;
            this.GuildUnionUserType = 0x0;

            this.BloodBibleSignInfo = new BloodBibleSignInfo();

            this.PowerjjangPoint = 0;
            // TODO
        }
Пример #2
0
        // TODO

        public GCUpdateInfo(PCInfo pcinfo2)
        {
            this.ID = PacketID.GCUpdateInfo;

            this.PCInfo = pcinfo2;

            this.InventoryInfo = new InventoryInfo();
            this.GearInfo = new GearInfo();

            GearSlotInfo gsi1 = new GearSlotInfo();
            /*gsi1.ObjectID = 0x0B4F0;
            gsi1.ItemClass = 19;
            gsi1.ItemType = 1;
            gsi1.SlotID = 0;
            this.GearInfo.GearSlotInfoList.Add(gsi1);*/

            this.ExtraInfo = new ExtraInfo();

            /*ExtraSlotInfo esi1 = new ExtraSlotInfo();
            esi1.ObjectID = 0x0B4F0;
            esi1.ItemClass = 1;
            esi1.ItemType = 1;

            this.ExtraInfo.ExtraSlotInfoList.Add(esi1)*/;

            this.EffectInfo = new EffectInfo();
            EffectInfo.Status a;
            a.val1 = 0;
            a.val2 = 0;
            this.EffectInfo.EList.Add(a);

            this.ZoneID = 12;//12;5001
            this.ZoneX = 30;// 117;
            this.ZoneY = 22;//145;

            this.GameTime = new GameTime();

            this.Weather = Weather.WEATHER_RAINY;

            this.DarkLevel = 0;
            this.LightLevel = 0;

            this.NPCTypeList = new List<ushort>();
            this.MonsterTypeList = new List<ushort>();

            this.NPCInfoList = new List<NPCInfo>();

            this.Premium = 0;

            this.SMSCharge = 0;

            this.NicknameInfo = new NicknameInfo();

            this.NonPK = 0x0;

            this.GuildUnionID = 0;
            this.GuildUnionUserType = 0x0;

            this.BloodBibleSignInfo = new BloodBibleSignInfo();

            this.PowerjjangPoint = 0;
            // TODO
        }