예제 #1
0
        private void SocialServerFeedBack(byte[] feedback)
        {
            NoviceGuidanceS2C data = ProtobufUtils.Deserialize <NoviceGuidanceS2C>(feedback);

            if (data.result)
            {
                DebugUtils.Log(DebugUtils.Type.Tutorial, "Message saveKeyValue send complete.");
            }
            else
            {
                DebugUtils.LogError(DebugUtils.Type.Tutorial, "Tutorial finish error, Server feedBack is false, please tell server check this NoviceGuidanceS2C data.");
            }
        }
예제 #2
0
        private void HandleNoviceGuidanceFeedback(byte[] data)
        {
            NoviceGuidanceS2C feedback = ProtobufUtils.Deserialize <NoviceGuidanceS2C>(data);

            if (feedback.result)
            {
                SwtichScene();
                DebugUtils.Log(DebugUtils.Type.Tutorial, "Message saveKeyValue send complete.");
            }
            else
            {
                DebugUtils.LogError(DebugUtils.Type.Tutorial, "Tutorial finish error, Server feedBack is false, please tell server check this NoviceGuidanceS2C data.");
            }
        }