refactor: gameobject native struct private => internal

This commit is contained in:
goat 2021-12-07 22:22:21 +01:00
parent 9d781518d6
commit 2e20ee7a4a
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
3 changed files with 3 additions and 3 deletions

View file

@ -62,6 +62,6 @@ namespace Dalamud.Game.ClientState.Objects.Types
/// <summary> /// <summary>
/// Gets the underlying structure. /// Gets the underlying structure.
/// </summary> /// </summary>
private protected new FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara*)this.Address; internal protected new FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.BattleChara*)this.Address;
} }
} }

View file

@ -101,6 +101,6 @@ namespace Dalamud.Game.ClientState.Objects.Types
/// <summary> /// <summary>
/// Gets the underlying structure. /// Gets the underlying structure.
/// </summary> /// </summary>
private protected new FFXIVClientStructs.FFXIV.Client.Game.Character.Character* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.Character*)this.Address; protected internal new FFXIVClientStructs.FFXIV.Client.Game.Character.Character* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Character.Character*)this.Address;
} }
} }

View file

@ -167,7 +167,7 @@ namespace Dalamud.Game.ClientState.Objects.Types
/// <summary> /// <summary>
/// Gets the underlying structure. /// Gets the underlying structure.
/// </summary> /// </summary>
private protected FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject*)this.Address; protected internal FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject* Struct => (FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject*)this.Address;
/// <inheritdoc/> /// <inheritdoc/>
public override string ToString() => $"{this.ObjectId:X}({this.Name.TextValue} - {this.ObjectKind}) at {this.Address:X}"; public override string ToString() => $"{this.ObjectId:X}({this.Name.TextValue} - {this.ObjectKind}) at {this.Address:X}";