Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有问题“方法 'protectDvar' 没有重载需要 2 个参数”
下面是代码片段:
private void protectDvar<T>(Entity client, string dvar, T value)
调用的错误:
protectDvar<string>("r_glow", "1");
请帮助我对不起英语不好
Entity client从参数中删除或在方法调用中添加此参数protectDvar(client, "r_glow", "1");
Entity client
protectDvar(client, "r_glow", "1");