Example #1
0
    private void UpdateManorGainInfo()
    {
        CSEmptyCropMature csemptycropmature = new CSEmptyCropMature();

        ProtocalManager.Instance().SendCSEmptyCropMature(csemptycropmature, succ =>
        {
            ManorRedDotTool.isManorHaveGain = succ.Mature;
            RedDotManager.UpdateRedDot(RedDotManager.RedDotKey.Manor);
        }, error => {
        });
    }
Example #2
0
        public void SendCSEmptyCropMature(CSEmptyCropMature csemptycropmature, Action <SCCropMature> ResponseSCCropMatureCallBack, Action <ErrorInfo> errorCallBack, bool isShowDefaultTip = true)
        {
            OpCodeType opCodeType = ListOPRelation.GetOpCodeTypeByRequest <CSEmptyCropMature> ();

            ProtoSendMethod.BusinessRequest <SCCropMature>(csemptycropmature, opCodeType, ResponseSCCropMatureCallBack, errorCallBack, isShowDefaultTip);
        }