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."); } }
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."); } }