Class MtaNewPlayerServer<TPlayer>
A highly configurable implementation of an MTA server, with a custom player class. This class is required to have a parameterless constructor.
Instaces of this class can be created using MtaServer.Create<TPlayer>
Inheritance
MtaNewPlayerServer<TPlayer>
Assembly: SlipeServer.Server.dll
Syntax
public class MtaNewPlayerServer<TPlayer> : MtaServer<TPlayer> where TPlayer : Player, new()
Type Parameters
Name |
Description |
TPlayer |
The player type
|
Constructors
|
Edit this page
View Source
MtaNewPlayerServer(IServiceProvider, Action<ServerBuilder>)
Declaration
public MtaNewPlayerServer(IServiceProvider serviceProvider, Action<ServerBuilder> builderAction)
Parameters
Methods
|
Edit this page
View Source
CreateClient(ulong, INetWrapper)
Declaration
protected override IClient CreateClient(ulong binaryAddress, INetWrapper netWrapper)
Parameters
Returns
Overrides
Extension Methods