Add resource package support
This commit is contained in:
@ -129,7 +129,6 @@ namespace RageCoop.Client
|
||||
PlayerPosition=P.ReadPosition();
|
||||
FPS=Game.FPS;
|
||||
// World.DrawMarker(MarkerType.DebugSphere, PedExtensions.RaycastEverything(default), default, default, new Vector3(0.2f, 0.2f, 0.2f), Color.AliceBlue);
|
||||
|
||||
if (Game.IsLoading)
|
||||
{
|
||||
return;
|
||||
@ -317,7 +316,7 @@ namespace RageCoop.Client
|
||||
EntityPool.Cleanup();
|
||||
PlayerList.Cleanup();
|
||||
LocalPlayerID=default;
|
||||
WorldThread.Traffic(true);
|
||||
WorldThread.Traffic(!Settings.DisableTraffic);
|
||||
}
|
||||
private static void DoQueuedActions()
|
||||
{
|
||||
|
@ -75,6 +75,7 @@ namespace RageCoop.Client
|
||||
}
|
||||
Main.QueueAction(() =>
|
||||
{
|
||||
WorldThread.Traffic(!Main.Settings.DisableTraffic);
|
||||
CoopMenu.ConnectedMenuSetting();
|
||||
Main.MainChat.Init();
|
||||
if (Main.Settings.Voice && !Voice.WasInitialized())
|
||||
|
@ -16,7 +16,7 @@ using System.Resources;
|
||||
|
||||
|
||||
// Version informationr(
|
||||
[assembly: AssemblyVersion("1.5.2.114")]
|
||||
[assembly: AssemblyFileVersion("1.5.2.114")]
|
||||
[assembly: AssemblyVersion("1.5.2.117")]
|
||||
[assembly: AssemblyFileVersion("1.5.2.117")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en-US" )]
|
||||
|
||||
|
@ -106,13 +106,6 @@ namespace RageCoop.Client.Scripting
|
||||
}
|
||||
LoadedResources.Clear();
|
||||
}
|
||||
private List<string> ToIgnore = new List<string>
|
||||
{
|
||||
"RageCoop.Client.dll",
|
||||
"RageCoop.Core.dll",
|
||||
"RageCoop.Server.dll",
|
||||
"ScriptHookVDotNet3.dll"
|
||||
};
|
||||
private List<ClientResource> LoadedResources = new List<ClientResource>();
|
||||
private string BaseScriptType;
|
||||
public Logger Logger { get; set; }
|
||||
|
Reference in New Issue
Block a user