GameModeServiceContainerAddService Method (Type, IService) |
Namespace: SampSharp.GameMode
public void AddService( Type serviceType, IService service )
Exception | Condition |
---|---|
ArgumentNullException | Thrown if serviceType or service is null. |
ArgumentException | serviceType must be of type IService |