Interface IPlayerPartySystemRegisterAPI
- All Superinterfaces:
IPlayerPartySystemRegisterAPI
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidregister(String name, IPlayerPartySystemAPI<?> system) Deprecated.useIPlayerPartySystemRegisterAPIinsteadMethods inherited from interface xaero.pac.common.server.parties.system.api.v2.IPlayerPartySystemRegisterAPI
register
-
Method Details
-
register
Deprecated.useIPlayerPartySystemRegisterAPIinsteadRegisters a party system implementation to be available to OPAC under a specified name.
The primary party system used by the mod is configured in the main server config file with the "primaryPartySystem" option.
- Parameters:
name- the name to register the party system under, not nullsystem- the party system implementation, not null
-
IPlayerPartySystemRegisterAPIinsteadThe API for registering party system implementations.
Party system implementations must be registered during the xaero.pac.common.event.api.OPACServerAddonRegister.EVENT on Fabric or OPACServerAddonRegisterEvent on Forge.