Return whether this peer has been granted the given permission flag.

Synopsis

Declared in <net.h>

bool
HasPermission(NetPermissionFlags permission) const;

Return Value

true if the peer holds that permission.

Parameters

Name

Description

permission

the permission flag to test for.

Created with MrDocs