protected void TriggerListners() { CommonModelNotifyParam notifyData = this.GetNotifyData(); MobaMessage message = MobaMessageManager.GetMessage((ClientMsg)this.modelType, notifyData, 0f); MobaMessageManager.ExecuteMsg(message); }
internal static CommonModelNotifyParam GetNotifyData(this IModel model) { CommonModelNotifyParam result = null; if (model != null) { result = new CommonModelNotifyParam(model); } return(result); }