Class Resource
Inheritance
System.Object
Resource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.dll
Syntax
public abstract class Resource : IResource
Methods
|
Improve this Doc
View Source
GetBaseBaseObjectPool(IEntityPool<IPlayer>, IEntityPool<IVehicle>, IEntityPool<IPed>, IEntityPool<IObject>, IBaseObjectPool<IBlip>, IBaseObjectPool<ICheckpoint>, IBaseObjectPool<IVoiceChannel>, IBaseObjectPool<IColShape>, IBaseObjectPool<IVirtualEntity>, IBaseObjectPool<IVirtualEntityGroup>, IBaseObjectPool<IMarker>, IBaseObjectPool<IConnectionInfo>)
Declaration
public virtual IPoolManager GetBaseBaseObjectPool(IEntityPool<IPlayer> playerPool, IEntityPool<IVehicle> vehiclePool, IEntityPool<IPed> pedPool, IEntityPool<IObject> objectPool, IBaseObjectPool<IBlip> blipPool, IBaseObjectPool<ICheckpoint> checkpointPool, IBaseObjectPool<IVoiceChannel> voiceChannelPool, IBaseObjectPool<IColShape> colShapePool, IBaseObjectPool<IVirtualEntity> virtualEntityPool, IBaseObjectPool<IVirtualEntityGroup> virtualEntityGroupPool, IBaseObjectPool<IMarker> markerPool, IBaseObjectPool<IConnectionInfo> connectionInfoPool)
Parameters
Returns
|
Improve this Doc
View Source
GetBlipFactory()
Declaration
public virtual IBaseObjectFactory<IBlip> GetBlipFactory()
Returns
|
Improve this Doc
View Source
GetBlipPool(IBaseObjectFactory<IBlip>)
Declaration
public virtual IBaseObjectPool<IBlip> GetBlipPool(IBaseObjectFactory<IBlip> blipFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetCheckpointFactory()
Declaration
public virtual IBaseObjectFactory<ICheckpoint> GetCheckpointFactory()
Returns
|
Improve this Doc
View Source
GetCheckpointPool(IBaseObjectFactory<ICheckpoint>)
Declaration
public virtual IBaseObjectPool<ICheckpoint> GetCheckpointPool(IBaseObjectFactory<ICheckpoint> checkpointFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetColShapeFactory()
Declaration
public virtual IBaseObjectFactory<IColShape> GetColShapeFactory()
Returns
|
Improve this Doc
View Source
GetColShapePool(IBaseObjectFactory<IColShape>)
Declaration
public virtual IBaseObjectPool<IColShape> GetColShapePool(IBaseObjectFactory<IColShape> colShapeFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetConnectionInfoFactory()
Declaration
public virtual IBaseObjectFactory<IConnectionInfo> GetConnectionInfoFactory()
Returns
|
Improve this Doc
View Source
GetConnectionInfoPool(IBaseObjectFactory<IConnectionInfo>)
Declaration
public IBaseObjectPool<IConnectionInfo> GetConnectionInfoPool(IBaseObjectFactory<IConnectionInfo> connectionInfoFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetCore(IntPtr, IntPtr, AssemblyLoadContext, ILibrary, IPoolManager, INativeResourcePool)
Declaration
public virtual Core GetCore(IntPtr nativePointer, IntPtr resourcePointer, AssemblyLoadContext assemblyLoadContext, ILibrary library, IPoolManager poolManager, INativeResourcePool nativeResourcePool)
Parameters
Type |
Name |
Description |
System.IntPtr |
nativePointer |
|
System.IntPtr |
resourcePointer |
|
System.Runtime.Loader.AssemblyLoadContext |
assemblyLoadContext |
|
ILibrary |
library |
|
IPoolManager |
poolManager |
|
INativeResourcePool |
nativeResourcePool |
|
Returns
|
Improve this Doc
View Source
GetLibrary()
Declaration
public ILibrary GetLibrary()
Returns
Type |
Description |
ILibrary |
|
|
Improve this Doc
View Source
GetMarkerFactory()
Declaration
public virtual IBaseObjectFactory<IMarker> GetMarkerFactory()
Returns
|
Improve this Doc
View Source
GetMarkerPool(IBaseObjectFactory<IMarker>)
Declaration
public virtual IBaseObjectPool<IMarker> GetMarkerPool(IBaseObjectFactory<IMarker> markerFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetModules()
Declaration
public IModule[] GetModules()
Returns
|
Improve this Doc
View Source
GetNativeResourceFactory()
Declaration
public virtual INativeResourceFactory GetNativeResourceFactory()
Returns
|
Improve this Doc
View Source
GetNativeResourcePool(INativeResourceFactory)
Declaration
public virtual INativeResourcePool GetNativeResourcePool(INativeResourceFactory nativeResourceFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetObjectFactory()
Declaration
public virtual IEntityFactory<IObject> GetObjectFactory()
Returns
|
Improve this Doc
View Source
GetObjectPool(IEntityFactory<IObject>)
Declaration
public IEntityPool<IObject> GetObjectPool(IEntityFactory<IObject> networkObjectFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetPedFactory()
Declaration
public virtual IEntityFactory<IPed> GetPedFactory()
Returns
|
Improve this Doc
View Source
GetPedPool(IEntityFactory<IPed>)
Declaration
public virtual IEntityPool<IPed> GetPedPool(IEntityFactory<IPed> pedFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetPlayerFactory()
Declaration
public virtual IEntityFactory<IPlayer> GetPlayerFactory()
Returns
|
Improve this Doc
View Source
GetPlayerPool(IEntityFactory<IPlayer>)
Declaration
public virtual IEntityPool<IPlayer> GetPlayerPool(IEntityFactory<IPlayer> playerFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetScripts()
Declaration
public IScript[] GetScripts()
Returns
|
Improve this Doc
View Source
GetVehicleFactory()
Declaration
public virtual IEntityFactory<IVehicle> GetVehicleFactory()
Returns
|
Improve this Doc
View Source
GetVehiclePool(IEntityFactory<IVehicle>)
Declaration
public virtual IEntityPool<IVehicle> GetVehiclePool(IEntityFactory<IVehicle> vehicleFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetVirtualEntityFactory()
Declaration
public virtual IBaseObjectFactory<IVirtualEntity> GetVirtualEntityFactory()
Returns
|
Improve this Doc
View Source
GetVirtualEntityGroupFactory()
Declaration
public virtual IBaseObjectFactory<IVirtualEntityGroup> GetVirtualEntityGroupFactory()
Returns
|
Improve this Doc
View Source
GetVirtualEntityGroupPool(IBaseObjectFactory<IVirtualEntityGroup>)
Declaration
public virtual IBaseObjectPool<IVirtualEntityGroup> GetVirtualEntityGroupPool(IBaseObjectFactory<IVirtualEntityGroup> virtualEntityGroupFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetVirtualEntityPool(IBaseObjectFactory<IVirtualEntity>)
Declaration
public virtual IBaseObjectPool<IVirtualEntity> GetVirtualEntityPool(IBaseObjectFactory<IVirtualEntity> virtualEntityFactory)
Parameters
Returns
|
Improve this Doc
View Source
GetVoiceChannelFactory()
Declaration
public virtual IBaseObjectFactory<IVoiceChannel> GetVoiceChannelFactory()
Returns
|
Improve this Doc
View Source
GetVoiceChannelPool(IBaseObjectFactory<IVoiceChannel>)
Declaration
public virtual IBaseObjectPool<IVoiceChannel> GetVoiceChannelPool(IBaseObjectFactory<IVoiceChannel> voiceChannelFactory)
Parameters
Returns
|
Improve this Doc
View Source
OnStart()
Declaration
public abstract void OnStart()
|
Improve this Doc
View Source
OnStart(IntPtr, IntPtr, String, String)
Declaration
public void OnStart(IntPtr serverPointer, IntPtr resourcePointer, string resourceName, string entryPoint)
Parameters
Type |
Name |
Description |
System.IntPtr |
serverPointer |
|
System.IntPtr |
resourcePointer |
|
System.String |
resourceName |
|
System.String |
entryPoint |
|
|
Improve this Doc
View Source
OnStop()
Declaration
public abstract void OnStop()
|
Improve this Doc
View Source
OnTick()
Declaration
public virtual void OnTick()
Implements