public static void CallBack(CMsgPlayerSystemGM2GCNtfInitRoleData ack) { if (CMsgPlayerSystemGM2GCNtfInitRoleData.cb == null) { return; } CMsgPlayerSystemGM2GCNtfInitRoleData.cb((EInitRoleDataResult)ack.m_retCode, ack.m_currentRoleIndex, ack.m_sceneTypeID, ack.m_role); }
public void OnMsgPlayerSystemGM2GCNtfInitRoleData(UnityFrame.CMsg msgData) { CMsgPlayerSystemGM2GCNtfInitRoleData ack = (CMsgPlayerSystemGM2GCNtfInitRoleData)msgData; CMsgPlayerSystemGM2GCNtfInitRoleData.CallBack(ack); }