| 123456789101112131415161718192021 |
- using Model;
- namespace Hotfix
- {
- [EntityEvent(EntityEventId.RealmGateAddressComponent)]
- public static class RealmGateAddressComponentE
- {
- public static void Awake(this RealmGateAddressComponent component)
- {
- StartConfig[] startConfigs = component.GetComponent<StartConfigComponent>().GetAll();
- foreach (StartConfig config in startConfigs)
- {
- if (!config.AppType.Is(AppType.Gate))
- {
- continue;
- }
- component.GateAddress.Add(config);
- }
- }
- }
- }
|