public void SetPetItemView( Msg_PetItemView _view) { if( _view.view_.nItemTableIdx > 0) { Item item = ItemMgr.ItemManagement.GetItem( _view.view_.nItemTableIdx); SetPetItemView( item); } else { _ReleasePetItemView(); } }
void OnItemView( AsIMessage _msg) { Msg_PetItemView view = _msg as Msg_PetItemView; if(m_Pet != null) m_Pet.SetPetItemView( view); m_PetItem = view; }
protected void SetPetItemView( sITEMVIEW _view) { Msg_PetItemView view = new Msg_PetItemView( _view); HandleMessage( view); }