![]() |
DDNet documentation
|
#include <interactions.h>
Public Member Functions | |
| void | Init (int OwnerId, uint32_t UniqueOwnerId) |
| void | FillOwnerConnected (bool OwnerAlive, int DDRaceTeam, bool Solo, bool NoHitOthers, bool NoHitSelf) |
| void | FillOwnerDisconnected () |
| bool | CanSee (const CGameContext *pGameServer, int ClientId) const |
| bool | CanHit (const CGameContext *pGameServer, int ClientId) const |
| CClientMask | CanSeeMask (const CGameContext *pGameServer) const |
| CClientMask | CanHitMask (const CGameContext *pGameServer) const |
| const CCharacter * | OwnerCharacter (const CGameContext *pGameServer) const |
Private Member Functions | |
| const CPlayer * | GetPlayer (const CGameContext *pGameServer, int ClientId) const |
| const CCharacter * | Character (const CGameContext *pGameServer, int ClientId) const |
| bool | IsSolo (const CGameContext *pGameServer, int ClientId) const |
| int | GetDDRaceTeam (const CGameContext *pGameServer, int ClientId) const |
Private Attributes | |
| int | m_OwnerId = -1 |
| uint32_t | m_UniqueOwnerId = 0 |
| bool | m_OwnerAlive = false |
| int | m_DDRaceTeam = 0 |
| bool | m_Solo = false |
| bool | m_NoHitOthers = false |
| bool | m_NoHitSelf = false |
| bool CInteractions::CanHit | ( | const CGameContext * | pGameServer, |
| int | ClientId ) const |
| CClientMask CInteractions::CanHitMask | ( | const CGameContext * | pGameServer | ) | const |
| bool CInteractions::CanSee | ( | const CGameContext * | pGameServer, |
| int | ClientId ) const |
| CClientMask CInteractions::CanSeeMask | ( | const CGameContext * | pGameServer | ) | const |
|
private |
| void CInteractions::FillOwnerConnected | ( | bool | OwnerAlive, |
| int | DDRaceTeam, | ||
| bool | Solo, | ||
| bool | NoHitOthers, | ||
| bool | NoHitSelf ) |
| void CInteractions::FillOwnerDisconnected | ( | ) |
|
private |
|
private |
| void CInteractions::Init | ( | int | OwnerId, |
| uint32_t | UniqueOwnerId ) |
|
private |
| const CCharacter * CInteractions::OwnerCharacter | ( | const CGameContext * | pGameServer | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |