mirror of
https://github.com/snltty/linker.git
synced 2025-11-01 04:53:15 +08:00
优化内存分享,修复一些问题,新增答题投票功能
This commit is contained in:
@@ -82,5 +82,21 @@ namespace cmonitor.libs
|
||||
accessorLocal.Write(position, value);
|
||||
}
|
||||
}
|
||||
|
||||
public long ReadInt64(int position)
|
||||
{
|
||||
if (accessorLocal != null)
|
||||
{
|
||||
return accessorLocal.ReadInt64(position);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
public void WriteInt64(int position, long value)
|
||||
{
|
||||
if (accessorLocal != null)
|
||||
{
|
||||
accessorLocal.Write(position, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user