Skip to content

Commit

Permalink
git moment
Browse files Browse the repository at this point in the history
  • Loading branch information
chirpxiv committed Dec 15, 2023
1 parent 7f149c7 commit e3cfb24
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Ktisis/Env/EnvService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
using Dalamud.Logging;

using FFXIVClientStructs.FFXIV.Client.Graphics.Environment;
using FFXIVClientStructs.FFXIV.Client.Graphics.Scene;
using FFXIVClientStructs.FFXIV.Client.LayoutEngine;

using Ktisis.Events;
using Ktisis.Interop.Hooks;
Expand All @@ -27,25 +25,6 @@ public static class EnvService {
public static void Init() {
EventManager.OnGPoseChange += OnGPoseChange;
EnvHooks.Init();

unsafe {
var env = EnvManager.Instance();
Logger.Information($"-> {(nint)env:X} {(nint)env->EnvScene:X} {(nint)env->EnvSpace:X}");

//var con = *(nint*)(Services.SigScanner.Module.BaseAddress + 0x21ABEA0);
//PluginLog.Information($"EnvRender: {con:X}");

var t = env->EnvScene;
for (var i = 0; i < 1; i++) {
var s = (EnvSpace*)t->EnvSpaces + i;
var addr = (nint)s;
Logger.Information($"{(nint)s:X} {(nint)s->EnvLocation:X} {s->DrawObject.Object.Position}");

}

var world = LayoutWorld.Instance();
Logger.Information($"World: {(nint)world:X} {(nint)world->ActiveLayout:X}");
}
}

public static void Dispose() {
Expand Down

0 comments on commit e3cfb24

Please sign in to comment.