الموضوع: طلب ان بى سى
عرض مشاركة واحدة
قديم 2020-04-11, 05:02 AM
المشاركة #4  
Hassan Emprator
  • غير متواجد
افتراضي رد: طلب ان بى سى

كود:
#region   WarDrope
                            
case 17526:
                                {
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                
dialog.Text("Hello " client.Entity.Name ", How are you ? I am the manager of the new titles / wings");
                                                
dialog.Text("Do you want to buy wings / titles For free?");
                                                
dialog.Option("All Wing&Titel"1);
                                                break;
                                            }
                                        case 
1:
                                            {
                                                
client.Entity.ConquerPoints -= 1000;
                                                new 
TitleStorage().GetAll(client);
                                                break;
                                            }

                                    }
                                    break;
                                }
                            
#endregion TofanProject 

سيرش عا


كود:
    public sealed class CoatStorage 

في

كود:
  case Action.Equip

اخر القوس تحت خالص ضيف


كود:
        public void GetAll(Client.GameState client)
        {
            foreach (var 
title in Database.WardrobeTable.Titles.Values)
            {
                
AddTitle(client, (short)title.Type, (short)title.IDfalse);
            }
            
client.Entity.haveallTitles true;
        } 

في Entity ضيف


كود:
        public bool haveallTitles false