Skip to content

Commit

Permalink
1.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
paissaheavyindustries committed Oct 3, 2023
1 parent 5e99013 commit c6a309e
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions Tallafell/Plugin.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
using Dalamud.Game;
using Dalamud.IoC;
using Dalamud.Plugin;
using Dalamud.Game.ClientState.Objects;
using Dalamud.Game.ClientState.Objects.Types;
using CharacterStruct = FFXIVClientStructs.FFXIV.Client.Game.Character.Character;
using GameObjectStruct = FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject;
using Dalamud.Game.Gui;
using Dalamud.Game.ClientState;
using System;
using Dalamud.Plugin.Services;

namespace Tallafell
{
Expand All @@ -18,19 +16,16 @@ public sealed class Plugin : IDalamudPlugin
public string Name => "Tallafell";

private DalamudPluginInterface _pi { get; init; }
private ObjectTable _ot { get; init; }
private ChatGui _cg { get; init; }
private ClientState _cs { get; init; }
private IObjectTable _ot { get; init; }
private IChatGui _cg { get; init; }
private IClientState _cs { get; init; }
private DateTime _nextCheck = DateTime.Now;

[PluginService]
public static SigScanner TargetModuleScanner { get; private set; }

public Plugin(
[RequiredVersion("1.0")] DalamudPluginInterface pluginInterface,
[RequiredVersion("1.0")] ObjectTable objectTable,
[RequiredVersion("1.0")] ClientState clientState,
[RequiredVersion("1.0")] ChatGui chatGui
[RequiredVersion("1.0")] IObjectTable objectTable,
[RequiredVersion("1.0")] IClientState clientState,
[RequiredVersion("1.0")] IChatGui chatGui
)
{
_pi = pluginInterface;
Expand Down Expand Up @@ -65,7 +60,7 @@ private unsafe void Tallafellify()
{
CharacterStruct* bcs = (CharacterStruct*)bc.Address;
GameObjectStruct* gos = (GameObjectStruct*)go.Address;
bcs->ModelScale = 2.0f;
bcs->CharacterData.ModelScale = 2.0f;
gos->Scale = 2.0f;
}
}
Expand Down

0 comments on commit c6a309e

Please sign in to comment.