Click or drag to resize

NativeObjectSingletonT Class

Provides a singleton Instance property containing a single instance of the specified native object type.
Inheritance Hierarchy
SystemObject
  SampSharp.Core.Natives.NativeObjectsNativeObjectSingletonT
    More...

Namespace:  SampSharp.Core.Natives.NativeObjects
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public abstract class NativeObjectSingleton<T>
where T : NativeObjectSingleton<T>

Type Parameters

T
The native object type.

The NativeObjectSingletonT type exposes the following members.

Constructors
  NameDescription
Protected methodNativeObjectSingletonT
Initializes a new instance of the NativeObjectSingletonT class
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Gets the singleton instance of native object T.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also
Inheritance Hierarchy
SystemObject
  SampSharp.Core.Natives.NativeObjectsNativeObjectSingletonT
    SampSharp.GameModeBaseModeBaseModeInternal
    SampSharp.GameMode.DisplayDialogDialogInternal
    SampSharp.GameMode.DisplayMenuMenuInternal
    SampSharp.GameMode.DisplayPlayerTextDrawPlayerTextDrawInternal
    SampSharp.GameMode.DisplayTextDrawTextDrawInternal
    SampSharp.GameMode.FactoriesBaseVehicleFactoryBaseVehicleFactoryInternal
    SampSharp.GameMode.SAMPPVarCollectionPVarCollectionInternal
    SampSharp.GameMode.SAMPServerServerInternal
    SampSharp.GameMode.SAMPSVarCollectionSVarCollectionInternal
    SampSharp.GameMode.WorldActorActorInternal
    SampSharp.GameMode.WorldBasePlayerPlayerInternal
    SampSharp.GameMode.WorldBaseVehicleVehicleInternal
    SampSharp.GameMode.WorldGangZoneGangZoneInternal
    SampSharp.GameMode.WorldGlobalObjectGlobalObjectInternal
    SampSharp.GameMode.WorldPickupPickupInternal
    SampSharp.GameMode.WorldPlayerObjectPlayerObjectInternal
    SampSharp.GameMode.WorldPlayerTextLabelPlayerTextLabelInternal
    SampSharp.GameMode.WorldTextLabelTextLabelInternal
    SampSharp.GameMode.WorldVehicleModelInfoVehicleModelInfoInternal