public static void CallBack(CMsgPetSystemGM2GCAckGetPetData ack) { if (CMsgPetSystemGM2GCAckGetPetData.cb == null) { return; } CMsgPetSystemGM2GCAckGetPetData.cb(ack.m_retCode, ack.m_petItem); }
private void OnMsgPetSystemGM2GCAckGetPetData(UnityFrame.CMsg msgData) { CMsgPetSystemGM2GCAckGetPetData ack = (CMsgPetSystemGM2GCAckGetPetData)msgData; CMsgPetSystemGM2GCAckGetPetData.CallBack(ack); }