public static void CallBack(CMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute ntf) { if (CMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute.cb == null) { return; } CMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute.cb(ntf.m_battleAttr, ntf.m_combat, ntf.m_historyMaxCombatPower); }
public void OnMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute(UnityFrame.CMsg msgData) { CMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute ack = (CMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute)msgData; CMsgPlayerSystemGM2GCNtfUpdateRoleBattleAttribute.CallBack(ack); }