Show / Hide Table of Contents

Class Engine

Inheritance
Object
Engine
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Game
Assembly: SlipeClient.dll
Syntax
public class Engine

Fields

| Improve this Doc View Source

instance

Declaration
protected static Engine instance
Field Value
Type Description
Engine

Properties

| Improve this Doc View Source

Instance

Declaration
public static Engine Instance { get; }
Property Value
Type Description
Engine

Methods

| Improve this Doc View Source

GetModelIDFromName(String)

Declaration
public int GetModelIDFromName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Int32
| Improve this Doc View Source

GetModelLODDistance(Int32)

Declaration
public float GetModelLODDistance(int model)
Parameters
Type Name Description
Int32 model
Returns
Type Description
Single
| Improve this Doc View Source

GetModelNameFromId(Int32)

Declaration
public string GetModelNameFromId(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
String
| Improve this Doc View Source

GetModelTextureNames(Int32)

Declaration
public string[] GetModelTextureNames(int model)
Parameters
Type Name Description
Int32 model
Returns
Type Description
String[]
| Improve this Doc View Source

GetModelTextureNames(String)

Declaration
public string[] GetModelTextureNames(string model)
Parameters
Type Name Description
String model
Returns
Type Description
String[]
| Improve this Doc View Source

GetVisibleTextureNames(String, String)

Declaration
public string[] GetVisibleTextureNames(string nameFilter = null, string modelId = null)
Parameters
Type Name Description
String nameFilter
String modelId
Returns
Type Description
String[]
| Improve this Doc View Source

ReplaceAnimation(Ped, String, String, String, String)

Declaration
public bool ReplaceAnimation(Ped ped, string internalBlock, string internalAnim, string customBlock, string customAnim)
Parameters
Type Name Description
Ped ped
String internalBlock
String internalAnim
String customBlock
String customAnim
Returns
Type Description
Boolean
| Improve this Doc View Source

RestoreAnimation(Ped, String, String)

Declaration
public bool RestoreAnimation(Ped ped, string internalBlock, string internalAnim)
Parameters
Type Name Description
Ped ped
String internalBlock
String internalAnim
Returns
Type Description
Boolean
| Improve this Doc View Source

SetAsynchronousLoading(Boolean, Boolean)

Declaration
public bool SetAsynchronousLoading(bool value, bool forced = false)
Parameters
Type Name Description
Boolean value
Boolean forced
Returns
Type Description
Boolean
| Improve this Doc View Source

SetModelLODDistance(Int32, Single)

Declaration
public bool SetModelLODDistance(int model, float distance)
Parameters
Type Name Description
Int32 model
Single distance
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX