mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 14:41:07 +00:00
Update C# RPC attributes to share new Any/Auth naming convention
Update attribute class references in mono cache
This commit is contained in:
parent
8138280d20
commit
c86ab40389
4 changed files with 10 additions and 10 deletions
|
|
@ -3511,10 +3511,10 @@ int CSharpScript::get_member_line(const StringName &p_member) const {
|
|||
}
|
||||
|
||||
Multiplayer::RPCMode CSharpScript::_member_get_rpc_mode(IMonoClassMember *p_member) const {
|
||||
if (p_member->has_attribute(CACHED_CLASS(RemoteAttribute))) {
|
||||
if (p_member->has_attribute(CACHED_CLASS(AnyAttribute))) {
|
||||
return Multiplayer::RPC_MODE_ANY;
|
||||
}
|
||||
if (p_member->has_attribute(CACHED_CLASS(PuppetAttribute))) {
|
||||
if (p_member->has_attribute(CACHED_CLASS(AuthorityAttribute))) {
|
||||
return Multiplayer::RPC_MODE_AUTHORITY;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue