1 Star 1 Fork 1

废墟上的猫/Deity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Program.cs 837 Bytes
一键复制 编辑 原始数据 按行查看 历史
废墟上的猫 提交于 2022-07-26 12:29 . 更新
// See https://aka.ms/new-console-template for more information
using System.Collections;
using System.Text;
using Deity2.Core;
using Deity2.SocketServer.SimulateSPT;
using Deity2.TestCode;
using RRQMCore.XREF.Newtonsoft.Json;
Console.WriteLine(BitConverter.ToInt32(new byte[4] { 0xc8,0x00,0x00,0x00 })*0.01f);
var b = new byte[] { 0x68 ,0x0B ,0x68 ,0x01 ,0x41 ,0x01 ,0x04 ,0x01 ,0x12 ,0x04 ,0xFF ,0xFF ,0xFF ,0x83 };
b[5] = Convert.ToByte(DateTime.Now.Year.ToString("D4").Substring(2,2), 16);
b[6] = Convert.ToByte(DateTime.Now.Month.ToString("D2"), 16);
b[7] = Convert.ToByte(DateTime.Now.Day.ToString("D2"), 16);
b[8] = Convert.ToByte(DateTime.Now.Hour.ToString("D2"), 16);
b[9] = Convert.ToByte(DateTime.Now.Minute.ToString("D2"), 16);
b[10] = Convert.ToByte(DateTime.Now.Second.ToString("D2"), 16);
Console.WriteLine("完成");
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/ruinscat/deity.git
[email protected]:ruinscat/deity.git
ruinscat
deity
Deity
master

搜索帮助