Пример #1
0
 public override void GetContextMenuEntries(Mobile from, List <ContextMenuEntry> list)
 {                                                                        //We are overriding GetContextMenuEntries because we want to do something to it.
     base.GetContextMenuEntries(from, list);                              //Items and Mobiles may already have context menus on them..
     MorphEthy.GetContextMenuEntries(from, this, list);                   //We want to add another menu entry to what already exists, so call our function that makes the addition
 }
Пример #2
0
 public PropsEntry(Mobile from, Item item)
     : base(6132)   // uses "Use" entry
 {
     m_Item   = ( MorphEthy )item;
     m_Mobile = from;
 }