优化内存分享,修复一些问题,新增答题投票功能

This commit is contained in:
snltty
2023-12-07 17:04:06 +08:00
parent a664ee8813
commit 1a62bd809d
181 changed files with 30746 additions and 29234 deletions

View File

@@ -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);
}
}
}
}