-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from space928/general-updates
General updates
- Loading branch information
Showing
7 changed files
with
72 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace OmsiHook | ||
{ | ||
public class OmsiFuncClass : OmsiObject | ||
{ | ||
public OmsiFuncClass() : base() { } | ||
|
||
internal OmsiFuncClass(Memory memory, int address) : base(memory, address) { } | ||
|
||
public OmsiPointPair[] Pnts | ||
{ | ||
get => Memory.ReadMemoryStructArray<OmsiPointPair>(Address + 0x4); | ||
} | ||
|
||
public bool PreNullIsNull | ||
{ | ||
get => Memory.ReadMemory<bool>(Address + 0x8); | ||
set => Memory.WriteMemory(Address + 0x8, value); | ||
} | ||
public bool AftNullIsNull | ||
{ | ||
get => Memory.ReadMemory<bool>(Address + 0x9); | ||
set => Memory.WriteMemory(Address + 0x9, value); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters