private bool PasteItem() { #if false if (this.m_itemUI.selectIndex == INIT) { return(false); } if (this.m_itemUI.itemState == null) { return(false); } if (this.m_itemState == null) { return(false); } var itemStateTmp = new HEdit.ADVPart.ItemState(this.m_itemState); this.m_itemUI.itemState.oiItem = itemStateTmp.oiItem; this.m_itemUI.itemState.parentChara = itemStateTmp.parentChara; this.m_itemUI.itemState.parentKind = itemStateTmp.parentKind; this.m_itemUI.Adapt(); this.m_itemUI.UpdateUI(); Illusion.Game.Utils.Sound.Play(Illusion.Game.SystemSE.sel); Logger.LogMessage("Paste item"); #endif return(true); }
private bool CopyItem() { #if false if (this.m_itemUI.selectIndex == INIT) { return(false); } if (this.m_itemUI.itemState == null) { return(false); } this.m_itemState = new HEdit.ADVPart.ItemState(this.m_itemUI.itemState); Illusion.Game.Utils.Sound.Play(Illusion.Game.SystemSE.sel); Logger.LogMessage("Copy item"); #endif return(true); }