internal void RoleFSMStateCombo(INotificationSender target, int stateName) { if (StatesMapper == default) { return; } RoleFSMStateInfo info = StatesMapper[stateName]; if (info == default) { return; } NotificationInfo[] list = info.stateComboNotice; SendRoleFSMStateNotifications(ref target, ref list); }
public void RoleFSMStateWillFinish(INotificationSender target, int stateName) { if (StatesMapper == default) { return; } RoleFSMStateInfo info = StatesMapper[stateName]; if (info == default) { return; } NotificationInfo[] list = info.willFinishStateNotice; SendRoleFSMStateNotifications(ref target, ref list); }