Polyphase Game Engine
Loading...
Searching...
No Matches
NetFunc Struct Reference

#include <NetFunc.h>

Public Member Functions

 NetFunc ()
 
 NetFunc (NetFuncType type, const char *name, NetFunc0FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc1FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc2FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc3FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc4FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc5FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc6FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc7FP fp, bool reliable=false)
 
 NetFunc (NetFuncType type, const char *name, NetFunc8FP fp, bool reliable=false)
 

Public Attributes

NetFuncType mType = NetFuncType::Count
 
uint8_t mNumParams = 0
 
uint16_t mIndex = 0
 
std::string mName
 
bool mReliable = false
 
union { 
 
   NetFunc0FP   p0 
 
   NetFunc1FP   p1 
 
   NetFunc2FP   p2 
 
   NetFunc3FP   p3 
 
   NetFunc4FP   p4 
 
   NetFunc5FP   p5 
 
   NetFunc6FP   p6 
 
   NetFunc7FP   p7 
 
   NetFunc8FP   p8 
 
mFuncPointer = {} 
 

Constructor & Destructor Documentation

◆ NetFunc() [1/10]

NetFunc::NetFunc ( )

◆ NetFunc() [2/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc0FP  fp,
bool  reliable = false 
)

◆ NetFunc() [3/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc1FP  fp,
bool  reliable = false 
)

◆ NetFunc() [4/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc2FP  fp,
bool  reliable = false 
)

◆ NetFunc() [5/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc3FP  fp,
bool  reliable = false 
)

◆ NetFunc() [6/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc4FP  fp,
bool  reliable = false 
)

◆ NetFunc() [7/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc5FP  fp,
bool  reliable = false 
)

◆ NetFunc() [8/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc6FP  fp,
bool  reliable = false 
)

◆ NetFunc() [9/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc7FP  fp,
bool  reliable = false 
)

◆ NetFunc() [10/10]

NetFunc::NetFunc ( NetFuncType  type,
const char *  name,
NetFunc8FP  fp,
bool  reliable = false 
)

Member Data Documentation

◆ [union]

union { ... } NetFunc::mFuncPointer

◆ mIndex

uint16_t NetFunc::mIndex = 0

◆ mName

std::string NetFunc::mName

◆ mNumParams

uint8_t NetFunc::mNumParams = 0

◆ mReliable

bool NetFunc::mReliable = false

◆ mType

NetFuncType NetFunc::mType = NetFuncType::Count

◆ p0

NetFunc0FP NetFunc::p0

◆ p1

NetFunc1FP NetFunc::p1

◆ p2

NetFunc2FP NetFunc::p2

◆ p3

NetFunc3FP NetFunc::p3

◆ p4

NetFunc4FP NetFunc::p4

◆ p5

NetFunc5FP NetFunc::p5

◆ p6

NetFunc6FP NetFunc::p6

◆ p7

NetFunc7FP NetFunc::p7

◆ p8

NetFunc8FP NetFunc::p8

The documentation for this struct was generated from the following files: