コード例 #1
0
ファイル: SysBotUI.cs プロジェクト: keliveshd/RiseHax
        // Currently unused since writing all coords at once is funky and reading them back out afterwards creates an infinite loop
        private void WriteCoords()
        {
            float floatX = (float)SysBotHunterCoordXCount.Value;
            float floatY = (float)SysBotHunterCoordYCount.Value;
            float floatZ = (float)SysBotHunterCoordZCount.Value;

            byte[] Bytes = BytesHandler.CombineArrays(BitConverter.GetBytes(floatX), BitConverter.GetBytes(floatY), BitConverter.GetBytes(floatZ));
            sb.WriteBytesAbsolute(Bytes, OffsetHunterCoordX);
        }
コード例 #2
0
ファイル: SysBotUI.cs プロジェクト: keliveshd/RiseHax
 private void SysBotPouchItem5Count_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteUInt((uint)SysBotPouchItem5Count.Value, OffsetPouchItemCounts[4], sb);
 }
コード例 #3
0
ファイル: SysBotUI.cs プロジェクト: keliveshd/RiseHax
 private void SysBotHunterCoordZCount_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteFloat((float)SysBotHunterCoordZCount.Value, OffsetHunterCoordZ, sb);
 }
コード例 #4
0
ファイル: SysBotUI.cs プロジェクト: keliveshd/RiseHax
 private void SysBotHunterHPCount_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteUInt((uint)SysBotHunterHPCount.Value, OffsetHunterHP, sb);
     BytesHandler.WriteUInt((uint)SysBotHunterHPCount.Value, OffsetHunterHPRecoverable, sb);
     BytesHandler.WriteUInt(GlobalVariables.MaxHP, OffsetHunterHPMax, sb);
 }
コード例 #5
0
ファイル: SysBotUI.cs プロジェクト: keliveshd/RiseHax
 // HP writing
 private void SysBotMonster1HPCount_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteFloat((float)SysBotMonster1HPCount.Value, OffsetMonster1HP, sb);
 }
コード例 #6
0
 private void SysBotPlaytimeCount_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteUInt((uint)SysBotPlaytimeCount.Value, OffsetPlaytime, sb);
 }
コード例 #7
0
 private void SysBotCapturedTotalCount_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteUInt((uint)SysBotCapturedTotalCount.Value, OffsetCapturedTotal, sb);
 }
コード例 #8
0
 private void SysBotArenaQuestCount_ValueChanged(object sender, EventArgs e)
 {
     BytesHandler.WriteUInt((uint)SysBotArenaQuestCount.Value, OffsetArenaQuestCount, sb);
 }