| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <title>RakNet: RakNet::ReplicaManager3 Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">RakNet
-  <span id="projectnumber">4.0</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.2 -->
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- <li><a href="modules.html"><span>Modules</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="classes.html"><span>Class Index</span></a></li>
- <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="namespaceRakNet.html">RakNet</a></li><li class="navelem"><a class="el" href="classRakNet_1_1ReplicaManager3.html">ReplicaManager3</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pro-methods">Protected Member Functions</a> |
- <a href="classRakNet_1_1ReplicaManager3-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">RakNet::ReplicaManager3 Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html">ReplicaManager3</a></div></div> </div>
- </div><!--header-->
- <div class="contents">
- <p>System to help automate game object construction, destruction, and serialization.
- <a href="classRakNet_1_1ReplicaManager3.html#details">More...</a></p>
- <p><code>#include <ReplicaManager3.h></code></p>
- <div class="dynheader">
- Inheritance diagram for RakNet::ReplicaManager3:</div>
- <div class="dyncontent">
- <div class="center">
- <img src="classRakNet_1_1ReplicaManager3.png" usemap="#RakNet::ReplicaManager3_map" alt=""/>
- <map id="RakNet::ReplicaManager3_map" name="RakNet::ReplicaManager3_map">
- <area href="classRakNet_1_1PluginInterface2.html" alt="RakNet::PluginInterface2" shape="rect" coords="0,0,158,24"/>
- </map>
- </div></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:ade7df800d3dfd31bdd44de76172eb912"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912">AllocConnection</a> (const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> &systemAddress, <a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> rakNetGUID) const =0</td></tr>
- <tr class="memdesc:ade7df800d3dfd31bdd44de76172eb912"><td class="mdescLeft"> </td><td class="mdescRight">Implement to return a game specific derivation of <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a>. <a href="#ade7df800d3dfd31bdd44de76172eb912"></a><br/></td></tr>
- <tr class="separator:ade7df800d3dfd31bdd44de76172eb912"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a78b449c8e3caa9a343a7d273f768687c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a78b449c8e3caa9a343a7d273f768687c">DeallocConnection</a> (<a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> *connection) const =0</td></tr>
- <tr class="memdesc:a78b449c8e3caa9a343a7d273f768687c"><td class="mdescLeft"> </td><td class="mdescRight">Implement to destroy a class instanced returned by <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">AllocConnection()</a> <a href="#a78b449c8e3caa9a343a7d273f768687c"></a><br/></td></tr>
- <tr class="separator:a78b449c8e3caa9a343a7d273f768687c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af7e33dfb956e311cde40a97c9f89dc8e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e">SetAutoManageConnections</a> (bool autoCreate, bool autoDestroy)</td></tr>
- <tr class="memdesc:af7e33dfb956e311cde40a97c9f89dc8e"><td class="mdescLeft"> </td><td class="mdescRight">Enable or disable automatically assigning connections to new instances of <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a>. <a href="#af7e33dfb956e311cde40a97c9f89dc8e"></a><br/></td></tr>
- <tr class="separator:af7e33dfb956e311cde40a97c9f89dc8e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a71cf90c3a8441becc6080a6dbff8965a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a71cf90c3a8441becc6080a6dbff8965a">GetAutoCreateConnections</a> (void) const </td></tr>
- <tr class="separator:a71cf90c3a8441becc6080a6dbff8965a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0684b19dc05fe5f8cf9ca588b47f8223"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a0684b19dc05fe5f8cf9ca588b47f8223">GetAutoDestroyConnections</a> (void) const </td></tr>
- <tr class="separator:a0684b19dc05fe5f8cf9ca588b47f8223"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aac9e84d2ea13026c6e05ec667897e692"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#aac9e84d2ea13026c6e05ec667897e692">AutoCreateConnectionList</a> (<a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> > &participantListIn, <a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * > &participantListOut, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:aac9e84d2ea13026c6e05ec667897e692"><td class="mdescLeft"> </td><td class="mdescRight">Call <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">AllocConnection()</a> and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> for each connection in <em>participantList</em>. <a href="#aac9e84d2ea13026c6e05ec667897e692"></a><br/></td></tr>
- <tr class="separator:aac9e84d2ea13026c6e05ec667897e692"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5497b1ce378391cd617cec81ce7d8b94"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94">PushConnection</a> (<a class="el" href="classRakNet_1_1Connection__RM3.html">RakNet::Connection_RM3</a> *newConnection, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a5497b1ce378391cd617cec81ce7d8b94"><td class="mdescLeft"> </td><td class="mdescRight">Track a new <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> instance. <a href="#a5497b1ce378391cd617cec81ce7d8b94"></a><br/></td></tr>
- <tr class="separator:a5497b1ce378391cd617cec81ce7d8b94"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8e0a4be1310f582f98462a1831467402"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRakNet_1_1Connection__RM3.html">RakNet::Connection_RM3</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a8e0a4be1310f582f98462a1831467402">PopConnection</a> (<a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> guid, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a8e0a4be1310f582f98462a1831467402"><td class="mdescLeft"> </td><td class="mdescRight">Stop tracking a connection. <a href="#a8e0a4be1310f582f98462a1831467402"></a><br/></td></tr>
- <tr class="separator:a8e0a4be1310f582f98462a1831467402"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9046d827471c0be651b54b7efb7b6f28"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a9046d827471c0be651b54b7efb7b6f28">Reference</a> (<a class="el" href="classRakNet_1_1Replica3.html">RakNet::Replica3</a> *replica3, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a9046d827471c0be651b54b7efb7b6f28"><td class="mdescLeft"> </td><td class="mdescRight">Adds a replicated object to the system. <a href="#a9046d827471c0be651b54b7efb7b6f28"></a><br/></td></tr>
- <tr class="separator:a9046d827471c0be651b54b7efb7b6f28"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4bd439b6f0479a20236cc29ac36a6ff2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a4bd439b6f0479a20236cc29ac36a6ff2">Dereference</a> (<a class="el" href="classRakNet_1_1Replica3.html">RakNet::Replica3</a> *replica3, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a4bd439b6f0479a20236cc29ac36a6ff2"><td class="mdescLeft"> </td><td class="mdescRight">Removes a replicated object from the system. <a href="#a4bd439b6f0479a20236cc29ac36a6ff2"></a><br/></td></tr>
- <tr class="separator:a4bd439b6f0479a20236cc29ac36a6ff2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5426d3a746720ee8a8d9f1e1961f4a60"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a5426d3a746720ee8a8d9f1e1961f4a60">DereferenceList</a> (<a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > &replicaListIn, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a5426d3a746720ee8a8d9f1e1961f4a60"><td class="mdescLeft"> </td><td class="mdescRight">Removes multiple replicated objects from the system. <a href="#a5426d3a746720ee8a8d9f1e1961f4a60"></a><br/></td></tr>
- <tr class="separator:a5426d3a746720ee8a8d9f1e1961f4a60"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adeb8596077be0f06f808ca475942bda1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#adeb8596077be0f06f808ca475942bda1">GetReplicasCreatedByGuid</a> (<a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> guid, <a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > &replicaListOut, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:adeb8596077be0f06f808ca475942bda1"><td class="mdescLeft"> </td><td class="mdescRight">Returns all objects originally created by a particular system. <a href="#adeb8596077be0f06f808ca475942bda1"></a><br/></td></tr>
- <tr class="separator:adeb8596077be0f06f808ca475942bda1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af134995196f488ab2d6488c1e0dd0fa9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#af134995196f488ab2d6488c1e0dd0fa9">GetReplicasCreatedByMe</a> (<a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > &replicaListOut, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:af134995196f488ab2d6488c1e0dd0fa9"><td class="mdescLeft"> </td><td class="mdescRight">Returns all objects originally created by your system. <a href="#af134995196f488ab2d6488c1e0dd0fa9"></a><br/></td></tr>
- <tr class="separator:af134995196f488ab2d6488c1e0dd0fa9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a30065a01eec701daed0a4310834286ba"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a30065a01eec701daed0a4310834286ba">GetReferencedReplicaList</a> (<a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > &replicaListOut, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a30065a01eec701daed0a4310834286ba"><td class="mdescLeft"> </td><td class="mdescRight">Returns the entire list of Replicas that we know about. <a href="#a30065a01eec701daed0a4310834286ba"></a><br/></td></tr>
- <tr class="separator:a30065a01eec701daed0a4310834286ba"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af15943bf2667aadeff0a2e7a7f79629f"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#af15943bf2667aadeff0a2e7a7f79629f">GetReplicaCount</a> (<a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="memdesc:af15943bf2667aadeff0a2e7a7f79629f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of replicas known about. <a href="#af15943bf2667aadeff0a2e7a7f79629f"></a><br/></td></tr>
- <tr class="separator:af15943bf2667aadeff0a2e7a7f79629f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae090d01f6e02425ebca4c1988f309de7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ae090d01f6e02425ebca4c1988f309de7">GetReplicaAtIndex</a> (unsigned index, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:ae090d01f6e02425ebca4c1988f309de7"><td class="mdescLeft"> </td><td class="mdescRight">Returns a replica by index. <a href="#ae090d01f6e02425ebca4c1988f309de7"></a><br/></td></tr>
- <tr class="separator:ae090d01f6e02425ebca4c1988f309de7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad5335d9001f0ae1b0278f671eb455956"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ad5335d9001f0ae1b0278f671eb455956">GetConnectionCount</a> (<a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="memdesc:ad5335d9001f0ae1b0278f671eb455956"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of connections. <a href="#ad5335d9001f0ae1b0278f671eb455956"></a><br/></td></tr>
- <tr class="separator:ad5335d9001f0ae1b0278f671eb455956"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3f239e372b43f60bb27163ab5011fe17"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a3f239e372b43f60bb27163ab5011fe17">GetConnectionAtIndex</a> (unsigned index, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="memdesc:a3f239e372b43f60bb27163ab5011fe17"><td class="mdescLeft"> </td><td class="mdescRight">Returns a connection pointer previously added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> <a href="#a3f239e372b43f60bb27163ab5011fe17"></a><br/></td></tr>
- <tr class="separator:a3f239e372b43f60bb27163ab5011fe17"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2eb6fff3e5a71113442b75975801d70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ab2eb6fff3e5a71113442b75975801d70">GetConnectionBySystemAddress</a> (const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> &sa, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="memdesc:ab2eb6fff3e5a71113442b75975801d70"><td class="mdescLeft"> </td><td class="mdescRight">Returns a connection pointer previously added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> <a href="#ab2eb6fff3e5a71113442b75975801d70"></a><br/></td></tr>
- <tr class="separator:ab2eb6fff3e5a71113442b75975801d70"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af43d3d10f0369d38a481090a6609a48f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#af43d3d10f0369d38a481090a6609a48f">GetConnectionByGUID</a> (<a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> guid, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="memdesc:af43d3d10f0369d38a481090a6609a48f"><td class="mdescLeft"> </td><td class="mdescRight">Returns a connection pointer previously added with PushConnection.() <a href="#af43d3d10f0369d38a481090a6609a48f"></a><br/></td></tr>
- <tr class="separator:af43d3d10f0369d38a481090a6609a48f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7e01d9098c06ad5c9eac71506fad6b13"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a7e01d9098c06ad5c9eac71506fad6b13">SetDefaultOrderingChannel</a> (char def)</td></tr>
- <tr class="separator:a7e01d9098c06ad5c9eac71506fad6b13"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afcbcfde423edca9e386f59c2f054e753"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#afcbcfde423edca9e386f59c2f054e753">SetDefaultPacketPriority</a> (<a class="el" href="PacketPriority_8h.html#a659378374e516180f93640c79f59705c">PacketPriority</a> def)</td></tr>
- <tr class="separator:afcbcfde423edca9e386f59c2f054e753"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3909030c3ad377e9b2ac1afc0e78889f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a3909030c3ad377e9b2ac1afc0e78889f">SetDefaultPacketReliability</a> (<a class="el" href="PacketPriority_8h.html#ae41fa01235e99dced384d137fa874a7e">PacketReliability</a> def)</td></tr>
- <tr class="separator:a3909030c3ad377e9b2ac1afc0e78889f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a06af43f52ae3148e763ad9223c308639"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a06af43f52ae3148e763ad9223c308639">SetAutoSerializeInterval</a> (RakNet::Time intervalMS)</td></tr>
- <tr class="separator:a06af43f52ae3148e763ad9223c308639"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9b87ac17416a6f00452a13f8279523e3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a9b87ac17416a6f00452a13f8279523e3">GetConnectionsThatHaveReplicaConstructed</a> (<a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> *replica, <a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * > &connectionsThatHaveConstructedThisReplica, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="memdesc:a9b87ac17416a6f00452a13f8279523e3"><td class="mdescLeft"> </td><td class="mdescRight">Return the connections that we think have an instance of the specified <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instance. <a href="#a9b87ac17416a6f00452a13f8279523e3"></a><br/></td></tr>
- <tr class="separator:a9b87ac17416a6f00452a13f8279523e3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adc5f625a0e279e68062527526b8db2db"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#adc5f625a0e279e68062527526b8db2db">GetAllConnectionDownloadsCompleted</a> (<a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="memdesc:adc5f625a0e279e68062527526b8db2db"><td class="mdescLeft"> </td><td class="mdescRight">Returns if GetDownloadWasCompleted() returns true for all connections. <a href="#adc5f625a0e279e68062527526b8db2db"></a><br/></td></tr>
- <tr class="separator:adc5f625a0e279e68062527526b8db2db"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa0c70560e7dd9bda8b50ff3909f78248"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248">AddWorld</a> (<a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId)</td></tr>
- <tr class="memdesc:aa0c70560e7dd9bda8b50ff3909f78248"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> can support multiple worlds, where each world has a separate <a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a>, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a916816210240e1f1d38478cea311999e">ReplicaManager3::SetNetworkIDManager()</a> to have a different <a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> instance per world. <a href="#aa0c70560e7dd9bda8b50ff3909f78248"></a><br/></td></tr>
- <tr class="separator:aa0c70560e7dd9bda8b50ff3909f78248"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a18b55ef2c0606b05896e2b4a5103ab21"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a18b55ef2c0606b05896e2b4a5103ab21">RemoveWorld</a> (<a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId)</td></tr>
- <tr class="memdesc:a18b55ef2c0606b05896e2b4a5103ab21"><td class="mdescLeft"> </td><td class="mdescRight">Deallocate a world added with AddWorld, or the default world with id 0 Deallocating a world will also stop tracking and updating all connections and replicas associated with that world. <a href="#a18b55ef2c0606b05896e2b4a5103ab21"></a><br/></td></tr>
- <tr class="separator:a18b55ef2c0606b05896e2b4a5103ab21"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad1db1ccc77de2ca4fc324405ddac63a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ad1db1ccc77de2ca4fc324405ddac63a6">GetWorldIdAtIndex</a> (unsigned int index)</td></tr>
- <tr class="memdesc:ad1db1ccc77de2ca4fc324405ddac63a6"><td class="mdescLeft"> </td><td class="mdescRight">Get one of the WorldId values added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> <a href="#ad1db1ccc77de2ca4fc324405ddac63a6"></a><br/></td></tr>
- <tr class="separator:ad1db1ccc77de2ca4fc324405ddac63a6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a891d12ab7939014c08dd9da67981fab1"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a891d12ab7939014c08dd9da67981fab1">GetWorldCount</a> (void) const </td></tr>
- <tr class="memdesc:a891d12ab7939014c08dd9da67981fab1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of world id specifiers in memory, added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> and removed with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a18b55ef2c0606b05896e2b4a5103ab21" title="Deallocate a world added with AddWorld, or the default world with id 0 Deallocating a world will also...">RemoveWorld()</a> <a href="#a891d12ab7939014c08dd9da67981fab1"></a><br/></td></tr>
- <tr class="separator:a891d12ab7939014c08dd9da67981fab1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a916816210240e1f1d38478cea311999e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a916816210240e1f1d38478cea311999e">SetNetworkIDManager</a> (<a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> *_networkIDManager, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="separator:a916816210240e1f1d38478cea311999e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a55a26c19127b186be5653022ed45a514"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a55a26c19127b186be5653022ed45a514">GetNetworkIDManager</a> (<a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0) const </td></tr>
- <tr class="separator:a55a26c19127b186be5653022ed45a514"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4df5f5e2e47b69b1abe22ba8b445e385"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a4df5f5e2e47b69b1abe22ba8b445e385">BroadcastDestructionList</a> (<a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > &replicaListSource, const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> &exclusionAddress, <a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> worldId=0)</td></tr>
- <tr class="separator:a4df5f5e2e47b69b1abe22ba8b445e385"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8aa2fdb5b20aeeab74b037bc1632c9e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8aa2fdb5b20aeeab74b037bc1632c9e9"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a8aa2fdb5b20aeeab74b037bc1632c9e9">Update</a> (void)</td></tr>
- <tr class="memdesc:a8aa2fdb5b20aeeab74b037bc1632c9e9"><td class="mdescLeft"> </td><td class="mdescRight">Call interfaces, send data. <br/></td></tr>
- <tr class="separator:a8aa2fdb5b20aeeab74b037bc1632c9e9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="inherit_header pub_methods_classRakNet_1_1PluginInterface2"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classRakNet_1_1PluginInterface2')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classRakNet_1_1PluginInterface2.html">RakNet::PluginInterface2</a></td></tr>
- <tr class="memitem:a550529f3753c4acf22c3b5c3e203552c inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a550529f3753c4acf22c3b5c3e203552c"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a550529f3753c4acf22c3b5c3e203552c">OnAttach</a> (void)</td></tr>
- <tr class="memdesc:a550529f3753c4acf22c3b5c3e203552c inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="mdescLeft"> </td><td class="mdescRight">Called when the interface is attached. <br/></td></tr>
- <tr class="separator:a550529f3753c4acf22c3b5c3e203552c inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a14825e69f0560996327e4dd351842c06 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14825e69f0560996327e4dd351842c06"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a14825e69f0560996327e4dd351842c06">OnRakPeerStartup</a> (void)</td></tr>
- <tr class="memdesc:a14825e69f0560996327e4dd351842c06 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="mdescLeft"> </td><td class="mdescRight">Called when <a class="el" href="classRakNet_1_1RakPeer.html" title="Main interface for network communications.">RakPeer</a> is initialized. <br/></td></tr>
- <tr class="separator:a14825e69f0560996327e4dd351842c06 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9504489498df14b6efa5ca9bd39aede4 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a9504489498df14b6efa5ca9bd39aede4">OnFailedConnectionAttempt</a> (<a class="el" href="structRakNet_1_1Packet.html">Packet</a> *packet, <a class="el" href="group__PLUGIN__INTERFACE__GROUP.html#ga3e92f686bace869b78c10508c58e0825">PI2_FailedConnectionAttemptReason</a> failedConnectionAttemptReason)</td></tr>
- <tr class="separator:a9504489498df14b6efa5ca9bd39aede4 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:accfca7d25262c48a87a30114383284aa inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#accfca7d25262c48a87a30114383284aa">UsesReliabilityLayer</a> (void) const </td></tr>
- <tr class="separator:accfca7d25262c48a87a30114383284aa inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7a6f69c6fc3a121e3676298a63a9ef78 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a7a6f69c6fc3a121e3676298a63a9ef78">OnDirectSocketSend</a> (const char *data, const BitSize_t bitsUsed, <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> remoteSystemAddress)</td></tr>
- <tr class="separator:a7a6f69c6fc3a121e3676298a63a9ef78 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9aac1101ad58e8443516588e96e066ec inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a9aac1101ad58e8443516588e96e066ec">OnDirectSocketReceive</a> (const char *data, const BitSize_t bitsUsed, <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> remoteSystemAddress)</td></tr>
- <tr class="separator:a9aac1101ad58e8443516588e96e066ec inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abf51e60546bd74d21c91dc0d6f9f3a4b inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#abf51e60546bd74d21c91dc0d6f9f3a4b">OnReliabilityLayerNotification</a> (const char *errorMessage, const BitSize_t bitsUsed, <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> remoteSystemAddress, bool isError)</td></tr>
- <tr class="separator:abf51e60546bd74d21c91dc0d6f9f3a4b inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a399b8c93daa0236599961e754742e2f7 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a399b8c93daa0236599961e754742e2f7">OnInternalPacket</a> (<a class="el" href="structRakNet_1_1InternalPacket.html">InternalPacket</a> *internalPacket, unsigned frameNumber, <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> remoteSystemAddress, RakNet::TimeMS time, int isSend)</td></tr>
- <tr class="separator:a399b8c93daa0236599961e754742e2f7 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae0b0cad31cfc209c48197c77d6b46345 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#ae0b0cad31cfc209c48197c77d6b46345">OnAck</a> (unsigned int messageNumber, <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> remoteSystemAddress, RakNet::TimeMS time)</td></tr>
- <tr class="separator:ae0b0cad31cfc209c48197c77d6b46345 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5c976aea56ed85055a17c19d91b90727 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1PluginInterface2.html#a5c976aea56ed85055a17c19d91b90727">OnPushBackPacket</a> (const char *data, const BitSize_t bitsUsed, <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> remoteSystemAddress)</td></tr>
- <tr class="separator:a5c976aea56ed85055a17c19d91b90727 inherit pub_methods_classRakNet_1_1PluginInterface2"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr class="memitem:a0cdd79247e16ca120ed9d13c1fca60ed"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__PLUGIN__INTERFACE__GROUP.html#ga89998adaafb29e5d879113b992161085">PluginReceiveResult</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#a0cdd79247e16ca120ed9d13c1fca60ed">OnReceive</a> (<a class="el" href="structRakNet_1_1Packet.html">Packet</a> *packet)</td></tr>
- <tr class="separator:a0cdd79247e16ca120ed9d13c1fca60ed"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abebbd0c277164e36dd342b1f83492427"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#abebbd0c277164e36dd342b1f83492427">OnClosedConnection</a> (const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> &systemAddress, <a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> rakNetGUID, <a class="el" href="group__PLUGIN__INTERFACE__GROUP.html#ga376cc546fd6892c2ead48cd51796c8b8">PI2_LostConnectionReason</a> lostConnectionReason)</td></tr>
- <tr class="separator:abebbd0c277164e36dd342b1f83492427"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac0c9ec75335ffe5f117a99ee24b55310"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ac0c9ec75335ffe5f117a99ee24b55310">OnNewConnection</a> (const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> &systemAddress, <a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> rakNetGUID, bool isIncoming)</td></tr>
- <tr class="separator:ac0c9ec75335ffe5f117a99ee24b55310"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad812ceecfe3150b78236382d7a6a2784"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad812ceecfe3150b78236382d7a6a2784"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#ad812ceecfe3150b78236382d7a6a2784">OnRakPeerShutdown</a> (void)</td></tr>
- <tr class="memdesc:ad812ceecfe3150b78236382d7a6a2784"><td class="mdescLeft"> </td><td class="mdescRight">Called when <a class="el" href="classRakNet_1_1RakPeer.html" title="Main interface for network communications.">RakPeer</a> is shutdown. <br/></td></tr>
- <tr class="separator:ad812ceecfe3150b78236382d7a6a2784"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af2251f16c8f5146cdfe8b927543177ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2251f16c8f5146cdfe8b927543177ee"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1ReplicaManager3.html#af2251f16c8f5146cdfe8b927543177ee">OnDetach</a> (void)</td></tr>
- <tr class="memdesc:af2251f16c8f5146cdfe8b927543177ee"><td class="mdescLeft"> </td><td class="mdescRight">Called when the interface is detached. <br/></td></tr>
- <tr class="separator:af2251f16c8f5146cdfe8b927543177ee"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>System to help automate game object construction, destruction, and serialization. </p>
- <p><a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> tracks your game objects and automates the networking for replicating them across the network<br/>
- As objects are created, destroyed, or serialized differently, those changes are pushed out to other systems.<br/>
- To use:<br/>
- </p>
- <ol>
- <li>
- Derive from <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> and implement <a class="el" href="classRakNet_1_1Connection__RM3.html#ab05d85100f726378f2ed73c6792a5b46" title="Class factory to create a Replica3 instance, given a user-defined identifier.">Connection_RM3::AllocReplica()</a>. This is a factory function where given a user-supplied identifier for a class (such as name) return an instance of that class. Should be able to return any networked object in your game. </li>
- <li>
- Derive from <a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> and implement <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">AllocConnection()</a> and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a78b449c8e3caa9a343a7d273f768687c" title="Implement to destroy a class instanced returned by AllocConnection()">DeallocConnection()</a> to return the class you created in step 1. </li>
- <li>
- Derive your networked game objects from <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a>. All pure virtuals have to be implemented, however defaults are provided for <a class="el" href="classRakNet_1_1Replica3.html#ad826e04ce6a0db4e32c3d990fd27e943" title="Ask if this object, which does not exist on destinationConnection should (now) be sent to that system...">Replica3::QueryConstruction()</a>, <a class="el" href="classRakNet_1_1Replica3.html#a79bd207fb79055d2b39943eb1c6b1f58" title="We're about to call DeserializeConstruction() on this Replica3. If QueryRemoteConstruction() returns ...">Replica3::QueryRemoteConstruction()</a>, and <a class="el" href="classRakNet_1_1Replica3.html#abc1b2daa5c1a908ddd2d6df44da7e9aa" title="Implement with QuerySerialization_ClientSerializable(), QuerySerialization_ServerSerializable(), or QuerySerialization_PeerToPeer()">Replica3::QuerySerialization()</a> depending on your network architecture. </li>
- <li>
- When a new game object is created on the local system, pass it to <a class="el" href="classRakNet_1_1ReplicaManager3.html#a9046d827471c0be651b54b7efb7b6f28" title="Adds a replicated object to the system.">ReplicaManager3::Reference()</a>. </li>
- <li>
- When a game object is destroyed on the local system, and you want other systems to know about it, call <a class="el" href="classRakNet_1_1Replica3.html#a7c6a22d575326cddec3a70eb1c2568f2">Replica3::BroadcastDestruction()</a> </li>
- </ol>
- <p><br/>
- At this point, all new connections will automatically download, get construction messages, get destruction messages, and update serialization automatically. </p>
- </div><h2 class="groupheader">Member Function Documentation</h2>
- <a class="anchor" id="aa0c70560e7dd9bda8b50ff3909f78248"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::AddWorld </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p><a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> can support multiple worlds, where each world has a separate <a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a>, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a916816210240e1f1d38478cea311999e">ReplicaManager3::SetNetworkIDManager()</a> to have a different <a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> instance per world. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>A unique identifier for this world. User-defined </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ade7df800d3dfd31bdd44de76172eb912"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual <a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a>* RakNet::ReplicaManager3::AllocConnection </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> & </td>
- <td class="paramname"><em>systemAddress</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> </td>
- <td class="paramname"><em>rakNetGUID</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Implement to return a game specific derivation of <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a>. </p>
- <p>The connection object represents a remote system connected to you that is using the <a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> system.<br/>
- It has functions to perform operations per-connection.<br/>
- <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">AllocConnection()</a> and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a78b449c8e3caa9a343a7d273f768687c" title="Implement to destroy a class instanced returned by AllocConnection()">DeallocConnection()</a> are factory functions to create and destroy instances of the connection object.<br/>
- It is used if autoCreate is true via <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> (true by default). Otherwise, the function is not called, and you will have to call <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> manually<br/>
- </p>
- <dl class="section note"><dt>Note</dt><dd>If you do not want a new network connection to immediately download game objects, <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> are how you do this. </dd></dl>
- <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> </dd></dl>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">systemAddress</td><td>Address of the system you are adding </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">rakNetGUID</td><td>GUID of the system you are adding. See Packet::rakNetGUID or RakPeerInterface::GetGUIDFromSystemAddress() </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The new connection instance. </dd></dl>
- </div>
- </div>
- <a class="anchor" id="aac9e84d2ea13026c6e05ec667897e692"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::AutoCreateConnectionList </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> > & </td>
- <td class="paramname"><em>participantListIn</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * > & </td>
- <td class="paramname"><em>participantListOut</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Call <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">AllocConnection()</a> and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> for each connection in <em>participantList</em>. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">participantListIn</td><td>The list of connections to allocate </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">participantListOut</td><td>The connections allocated, if any </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a4df5f5e2e47b69b1abe22ba8b445e385"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::BroadcastDestructionList </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > & </td>
- <td class="paramname"><em>replicaListSource</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> & </td>
- <td class="paramname"><em>exclusionAddress</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Send a network command to destroy one or more <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instances Usually you won't need this, but use <a class="el" href="classRakNet_1_1Replica3.html#a7c6a22d575326cddec3a70eb1c2568f2">Replica3::BroadcastDestruction()</a> instead. The objects are unaffected locally </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">replicaList</td><td>List of <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> objects to tell other systems to destroy. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">exclusionAddress</td><td>Which system to not send to. UNASSIGNED_SYSTEM_ADDRESS to send to all. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a78b449c8e3caa9a343a7d273f768687c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual void RakNet::ReplicaManager3::DeallocConnection </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * </td>
- <td class="paramname"><em>connection</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Implement to destroy a class instanced returned by <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">AllocConnection()</a> </p>
- <p>Most likely just implement as {delete connection;}<br/>
- It is used if autoDestroy is true via <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> (true by default). Otherwise, the function is not called and you would then be responsible for deleting your own connection objects. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">connection</td><td>The pointer instance to delete </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a4bd439b6f0479a20236cc29ac36a6ff2"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::Dereference </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classRakNet_1_1Replica3.html">RakNet::Replica3</a> * </td>
- <td class="paramname"><em>replica3</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes a replicated object from the system. </p>
- <p>The object is not deallocated, it is up to the caller to do so.<br/>
- This is called automatically from the destructor of <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a>, so you don't need to call it manually unless you want to stop tracking an object before it is destroyed. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">replica3</td><td>The object to stop tracking </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a5426d3a746720ee8a8d9f1e1961f4a60"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::DereferenceList </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > & </td>
- <td class="paramname"><em>replicaListIn</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes multiple replicated objects from the system. </p>
- <p>Same as <a class="el" href="classRakNet_1_1ReplicaManager3.html#a4bd439b6f0479a20236cc29ac36a6ff2" title="Removes a replicated object from the system.">Dereference()</a>, but for a list of objects.<br/>
- Useful with the lists returned by <a class="el" href="classRakNet_1_1ReplicaManager3.html#adeb8596077be0f06f808ca475942bda1" title="Returns all objects originally created by a particular system.">GetReplicasCreatedByGuid()</a>, <a class="el" href="classRakNet_1_1ReplicaManager3.html#af134995196f488ab2d6488c1e0dd0fa9" title="Returns all objects originally created by your system.">GetReplicasCreatedByMe()</a>, or <a class="el" href="classRakNet_1_1ReplicaManager3.html#a30065a01eec701daed0a4310834286ba" title="Returns the entire list of Replicas that we know about.">GetReferencedReplicaList()</a>.<br/>
- </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">replicaListIn</td><td>List of objects </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="adc5f625a0e279e68062527526b8db2db"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool RakNet::ReplicaManager3::GetAllConnectionDownloadsCompleted </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns if GetDownloadWasCompleted() returns true for all connections. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>True when all downloads have been completed </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a71cf90c3a8441becc6080a6dbff8965a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool RakNet::ReplicaManager3::GetAutoCreateConnections </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>What was passed to the autoCreate parameter of <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a0684b19dc05fe5f8cf9ca588b47f8223"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool RakNet::ReplicaManager3::GetAutoDestroyConnections </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>What was passed to the autoDestroy parameter of <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a3f239e372b43f60bb27163ab5011fe17"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a>* RakNet::ReplicaManager3::GetConnectionAtIndex </td>
- <td>(</td>
- <td class="paramtype">unsigned </td>
- <td class="paramname"><em>index</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a connection pointer previously added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>An index, from 0 to <a class="el" href="classRakNet_1_1ReplicaManager3.html#ad5335d9001f0ae1b0278f671eb455956" title="Returns the number of connections.">GetConnectionCount()</a>-1. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> pointer </dd></dl>
- </div>
- </div>
- <a class="anchor" id="af43d3d10f0369d38a481090a6609a48f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a>* RakNet::ReplicaManager3::GetConnectionByGUID </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> </td>
- <td class="paramname"><em>guid</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a connection pointer previously added with PushConnection.() </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">guid</td><td>The guid of the connection to return </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> pointer, or 0 if not found </dd></dl>
- </div>
- </div>
- <a class="anchor" id="ab2eb6fff3e5a71113442b75975801d70"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a>* RakNet::ReplicaManager3::GetConnectionBySystemAddress </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> & </td>
- <td class="paramname"><em>sa</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a connection pointer previously added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">PushConnection()</a> </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">sa</td><td>The system address of the connection to return </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> pointer, or 0 if not found </dd></dl>
- </div>
- </div>
- <a class="anchor" id="ad5335d9001f0ae1b0278f671eb455956"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">unsigned int RakNet::ReplicaManager3::GetConnectionCount </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of connections. </p>
- <p>Returns the number of connections added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a5497b1ce378391cd617cec81ce7d8b94" title="Track a new Connection_RM3 instance.">ReplicaManager3::PushConnection()</a>, minus the number removed with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a8e0a4be1310f582f98462a1831467402" title="Stop tracking a connection.">ReplicaManager3::PopConnection()</a> </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The number of registered connections </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a9b87ac17416a6f00452a13f8279523e3"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::GetConnectionsThatHaveReplicaConstructed </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * </td>
- <td class="paramname"><em>replica</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Connection__RM3.html">Connection_RM3</a> * > & </td>
- <td class="paramname"><em>connectionsThatHaveConstructedThisReplica</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Return the connections that we think have an instance of the specified <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instance. </p>
- <p>This can be wrong, for example if that system locally deleted the outside the scope of <a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a>, if QueryRemoteConstruction() returned false, or if DeserializeConstruction() returned false. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">replica</td><td>The replica to check against. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">connectionsThatHaveConstructedThisReplica</td><td>Populated with connection instances that we believe have <em>replica</em> allocated </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a55a26c19127b186be5653022ed45a514"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a>* RakNet::ReplicaManager3::GetNetworkIDManager </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns what was passed to <a class="el" href="classRakNet_1_1ReplicaManager3.html#a916816210240e1f1d38478cea311999e">SetNetworkIDManager()</a>, or the instance on <a class="el" href="classRakNet_1_1RakPeerInterface.html" title="The main interface for network communications.">RakPeerInterface</a> if unset. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a30065a01eec701daed0a4310834286ba"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::GetReferencedReplicaList </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > & </td>
- <td class="paramname"><em>replicaListOut</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the entire list of Replicas that we know about. </p>
- <p>This is all <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instances passed to Reference, as well as instances we downloaded and created via Connection_RM3::AllocReference() </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[out]</td><td class="paramname">List</td><td>of <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instances to be returned </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ae090d01f6e02425ebca4c1988f309de7"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classRakNet_1_1Replica3.html">Replica3</a>* RakNet::ReplicaManager3::GetReplicaAtIndex </td>
- <td>(</td>
- <td class="paramtype">unsigned </td>
- <td class="paramname"><em>index</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a replica by index. </p>
- <p>Returns one of the items in the list that would be returned by <a class="el" href="classRakNet_1_1ReplicaManager3.html#a30065a01eec701daed0a4310834286ba" title="Returns the entire list of Replicas that we know about.">GetReferencedReplicaList()</a> </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>An index, from 0 to <a class="el" href="classRakNet_1_1ReplicaManager3.html#af15943bf2667aadeff0a2e7a7f79629f" title="Returns the number of replicas known about.">GetReplicaCount()</a>-1. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instance </dd></dl>
- </div>
- </div>
- <a class="anchor" id="af15943bf2667aadeff0a2e7a7f79629f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">unsigned RakNet::ReplicaManager3::GetReplicaCount </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of replicas known about. </p>
- <p>Returns the size of the list that would be returned by <a class="el" href="classRakNet_1_1ReplicaManager3.html#a30065a01eec701daed0a4310834286ba" title="Returns the entire list of Replicas that we know about.">GetReferencedReplicaList()</a> </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>How many replica objects are in the list of replica objects </dd></dl>
- </div>
- </div>
- <a class="anchor" id="adeb8596077be0f06f808ca475942bda1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::GetReplicasCreatedByGuid </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> </td>
- <td class="paramname"><em>guid</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > & </td>
- <td class="paramname"><em>replicaListOut</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns all objects originally created by a particular system. </p>
- <p>Originally created is defined as the value of <a class="el" href="classRakNet_1_1Replica3.html#a02e865cdf4292bd4dd8c9795ebb3bb05">Replica3::creatingSystemGUID</a>, which is automatically assigned in <a class="el" href="classRakNet_1_1ReplicaManager3.html#a9046d827471c0be651b54b7efb7b6f28" title="Adds a replicated object to the system.">ReplicaManager3::Reference()</a>.<br/>
- You do not have to be directly connected to that system to get the objects originally created by that system.<br/>
- </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">guid</td><td>GUID of the system we are referring to. Originally passed as the <em>guid</em> parameter to <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">ReplicaManager3::AllocConnection()</a> </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">List</td><td>of <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instances to be returned </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="af134995196f488ab2d6488c1e0dd0fa9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::GetReplicasCreatedByMe </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classDataStructures_1_1List.html">DataStructures::List</a>< <a class="el" href="classRakNet_1_1Replica3.html">Replica3</a> * > & </td>
- <td class="paramname"><em>replicaListOut</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns all objects originally created by your system. </p>
- <p>Calls <a class="el" href="classRakNet_1_1ReplicaManager3.html#adeb8596077be0f06f808ca475942bda1" title="Returns all objects originally created by a particular system.">GetReplicasCreatedByGuid()</a> for your own system guid. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[out]</td><td class="paramname">List</td><td>of <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a> instances to be returned </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a891d12ab7939014c08dd9da67981fab1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">unsigned int RakNet::ReplicaManager3::GetWorldCount </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of world id specifiers in memory, added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> and removed with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a18b55ef2c0606b05896e2b4a5103ab21" title="Deallocate a world added with AddWorld, or the default world with id 0 Deallocating a world will also...">RemoveWorld()</a> </p>
- <dl class="section return"><dt>Returns</dt><dd>The number of worlds added </dd></dl>
- </div>
- </div>
- <a class="anchor" id="ad1db1ccc77de2ca4fc324405ddac63a6"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> RakNet::ReplicaManager3::GetWorldIdAtIndex </td>
- <td>(</td>
- <td class="paramtype">unsigned int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Get one of the WorldId values added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </p>
- <p>WorldId 0 is created by default. Worlds will not necessarily be in the order added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a>. Edit <a class="el" href="classRakNet_1_1ReplicaManager3.html#a18b55ef2c0606b05896e2b4a5103ab21" title="Deallocate a world added with AddWorld, or the default world with id 0 Deallocating a world will also...">RemoveWorld()</a> changing RemoveAtIndexFast() to RemoveAtIndex() to preserve order. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>A value between 0 and <a class="el" href="classRakNet_1_1ReplicaManager3.html#a891d12ab7939014c08dd9da67981fab1" title="Returns the number of world id specifiers in memory, added with AddWorld() and removed with RemoveWor...">GetWorldCount()</a>-1 </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>One of the WorldId values added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </dd></dl>
- </div>
- </div>
- <a class="anchor" id="abebbd0c277164e36dd342b1f83492427"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual void RakNet::ReplicaManager3::OnClosedConnection </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> & </td>
- <td class="paramname"><em>systemAddress</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> </td>
- <td class="paramname"><em>rakNetGUID</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__PLUGIN__INTERFACE__GROUP.html#ga376cc546fd6892c2ead48cd51796c8b8">PI2_LostConnectionReason</a> </td>
- <td class="paramname"><em>lostConnectionReason</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Called when a connection is dropped because the user called <a class="el" href="classRakNet_1_1RakPeer.html#a95e3806fce8552e322236abcf105cbf9" title="Close the connection to another host (if we initiated the connection it will disconnect, if they did it will kick them out).">RakPeer::CloseConnection()</a> for a particular system </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">systemAddress</td><td>The system whose connection was closed </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">rakNetGuid</td><td>The guid of the specified system </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">lostConnectionReason</td><td>How the connection was closed: manually, connection lost, or notification of disconnection </td></tr>
- </table>
- </dd>
- </dl>
- <p>Reimplemented from <a class="el" href="classRakNet_1_1PluginInterface2.html#a80c7612ca1a5dcfeec0b52d8049a71ea">RakNet::PluginInterface2</a>.</p>
- </div>
- </div>
- <a class="anchor" id="ac0c9ec75335ffe5f117a99ee24b55310"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual void RakNet::ReplicaManager3::OnNewConnection </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="structRakNet_1_1SystemAddress.html">SystemAddress</a> & </td>
- <td class="paramname"><em>systemAddress</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> </td>
- <td class="paramname"><em>rakNetGUID</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>isIncoming</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Called when we got a new connection </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">systemAddress</td><td>Address of the new connection </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">rakNetGuid</td><td>The guid of the specified system </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">isIncoming</td><td>If true, this is ID_NEW_INCOMING_CONNECTION, or the equivalent </td></tr>
- </table>
- </dd>
- </dl>
- <p>Reimplemented from <a class="el" href="classRakNet_1_1PluginInterface2.html#abf13327cc10f772ba06dff8f2687f8ae">RakNet::PluginInterface2</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a0cdd79247e16ca120ed9d13c1fca60ed"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual <a class="el" href="group__PLUGIN__INTERFACE__GROUP.html#ga89998adaafb29e5d879113b992161085">PluginReceiveResult</a> RakNet::ReplicaManager3::OnReceive </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1Packet.html">Packet</a> * </td>
- <td class="paramname"><em>packet</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>OnReceive is called for every packet. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>the packet that is being returned to the user </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>True to allow the game and other plugins to get this message, false to absorb it </dd></dl>
- <p>Reimplemented from <a class="el" href="classRakNet_1_1PluginInterface2.html#aa86f33263c1648f11b8a006469272639">RakNet::PluginInterface2</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a8e0a4be1310f582f98462a1831467402"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classRakNet_1_1Connection__RM3.html">RakNet::Connection_RM3</a>* RakNet::ReplicaManager3::PopConnection </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="structRakNet_1_1RakNetGUID.html">RakNetGUID</a> </td>
- <td class="paramname"><em>guid</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Stop tracking a connection. </p>
- <p>On call, for each replica returned by <a class="el" href="classRakNet_1_1ReplicaManager3.html#adeb8596077be0f06f808ca475942bda1" title="Returns all objects originally created by a particular system.">GetReplicasCreatedByGuid()</a>, QueryActionOnPopConnection() will be called. Depending on the return value, this may delete the corresponding replica.<br/>
- If autoDestroy is true in the call to <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a> (true by default) then this is called automatically when the connection is lost. In that case, the returned connection instance is deleted.<br/>
- </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">guid</td><td>of the connection to get. Passed to <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">ReplicaManager3::AllocConnection()</a> originally. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a5497b1ce378391cd617cec81ce7d8b94"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool RakNet::ReplicaManager3::PushConnection </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classRakNet_1_1Connection__RM3.html">RakNet::Connection_RM3</a> * </td>
- <td class="paramname"><em>newConnection</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Track a new <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> instance. </p>
- <p>If <em>autoCreate</em> is false for <a class="el" href="classRakNet_1_1ReplicaManager3.html#af7e33dfb956e311cde40a97c9f89dc8e" title="Enable or disable automatically assigning connections to new instances of Connection_RM3.">SetAutoManageConnections()</a>, then you need this function to add new instances of <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> yourself.<br/>
- You don't need to track this pointer yourself, you can get it with <a class="el" href="classRakNet_1_1ReplicaManager3.html#a3f239e372b43f60bb27163ab5011fe17" title="Returns a connection pointer previously added with PushConnection()">GetConnectionAtIndex()</a>, <a class="el" href="classRakNet_1_1ReplicaManager3.html#af43d3d10f0369d38a481090a6609a48f" title="Returns a connection pointer previously added with PushConnection.()">GetConnectionByGUID()</a>, or <a class="el" href="classRakNet_1_1ReplicaManager3.html#ab2eb6fff3e5a71113442b75975801d70" title="Returns a connection pointer previously added with PushConnection()">GetConnectionBySystemAddress()</a>.<br/>
- </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">newConnection</td><td>The new connection instance to track. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a9046d827471c0be651b54b7efb7b6f28"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::Reference </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classRakNet_1_1Replica3.html">RakNet::Replica3</a> * </td>
- <td class="paramname"><em>replica3</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Adds a replicated object to the system. </p>
- <p>Anytime you create a new object that derives from <a class="el" href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system.">Replica3</a>, and you want <a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> to use it, pass it to <a class="el" href="classRakNet_1_1ReplicaManager3.html#a9046d827471c0be651b54b7efb7b6f28" title="Adds a replicated object to the system.">Reference()</a>.<br/>
- Remote systems already connected will potentially download this object the next time <a class="el" href="classRakNet_1_1ReplicaManager3.html#a8aa2fdb5b20aeeab74b037bc1632c9e9" title="Call interfaces, send data.">ReplicaManager3::Update()</a> is called, which happens every time you call <a class="el" href="classRakNet_1_1RakPeerInterface.html#a1c50453d9dee600920aeabd62ad7c119">RakPeerInterface::Receive()</a>.<br/>
- You can also call <a class="el" href="classRakNet_1_1ReplicaManager3.html#a8aa2fdb5b20aeeab74b037bc1632c9e9" title="Call interfaces, send data.">ReplicaManager3::Update()</a> manually to send referenced objects right away </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">replica3</td><td>The object to start tracking </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a18b55ef2c0606b05896e2b4a5103ab21"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::RemoveWorld </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Deallocate a world added with AddWorld, or the default world with id 0 Deallocating a world will also stop tracking and updating all connections and replicas associated with that world. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>A <em>worldId</em> value previously added with <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="af7e33dfb956e311cde40a97c9f89dc8e"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::SetAutoManageConnections </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>autoCreate</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>autoDestroy</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Enable or disable automatically assigning connections to new instances of <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a>. </p>
- <p><a class="el" href="classRakNet_1_1ReplicaManager3.html" title="System to help automate game object construction, destruction, and serialization.">ReplicaManager3</a> can automatically create and/or destroy <a class="el" href="classRakNet_1_1Connection__RM3.html" title="Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instan...">Connection_RM3</a> as systems connect or disconnect from <a class="el" href="classRakNet_1_1RakPeerInterface.html" title="The main interface for network communications.">RakPeerInterface</a>.<br/>
- By default this is on, to make the system easier to learn and setup.<br/>
- If you don't want all connections to take part in the game, or you want to delay when a connection downloads the game, set <em>autoCreate</em> to false.<br/>
- If you want to delay deleting a connection that has dropped, set <em>autoDestroy</em> to false. If you do this, then you must call <a class="el" href="classRakNet_1_1ReplicaManager3.html#a8e0a4be1310f582f98462a1831467402" title="Stop tracking a connection.">PopConnection()</a> to remove that connection from being internally tracked. You'll also have to delete the connection instance on your own.<br/>
- </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">autoCreate</td><td>Automatically call <a class="el" href="classRakNet_1_1ReplicaManager3.html#ade7df800d3dfd31bdd44de76172eb912" title="Implement to return a game specific derivation of Connection_RM3.">ReplicaManager3::AllocConnection()</a> for each new connection. Defaults to true. Also see <a class="el" href="classRakNet_1_1ReplicaManager3.html#aac9e84d2ea13026c6e05ec667897e692" title="Call AllocConnection() and PushConnection() for each connection in participantList.">AutoCreateConnectionList()</a> </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">autoDestroy</td><td>Automatically call <a class="el" href="classRakNet_1_1ReplicaManager3.html#a78b449c8e3caa9a343a7d273f768687c" title="Implement to destroy a class instanced returned by AllocConnection()">ReplicaManager3::DeallocConnection()</a> for each dropped connection. Defaults to true. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a06af43f52ae3148e763ad9223c308639"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::SetAutoSerializeInterval </td>
- <td>(</td>
- <td class="paramtype">RakNet::Time </td>
- <td class="paramname"><em>intervalMS</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Every <em>intervalMS</em> milliseconds, Connection_RM3::OnAutoserializeInterval() will be called.<br/>
- Defaults to 30.<br/>
- Pass with <0 to disable. Pass 0 to Serialize() every time RakPeer::Recieve() is called<br/>
- If you want to control the update interval with more granularity, use the return values from <a class="el" href="classRakNet_1_1Replica3.html#a6e59b6a75b22441365145bf552f89e09" title="Serialize our class to a bitstream.">Replica3::Serialize()</a>.<br/>
- </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">intervalMS</td><td>How frequently to autoserialize all objects. This controls the maximum number of game object updates per second. </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a7e01d9098c06ad5c9eac71506fad6b13"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::SetDefaultOrderingChannel </td>
- <td>(</td>
- <td class="paramtype">char </td>
- <td class="paramname"><em>def</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">Default</td><td>ordering channel to use for object creation, destruction, and serializations </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="afcbcfde423edca9e386f59c2f054e753"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::SetDefaultPacketPriority </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="PacketPriority_8h.html#a659378374e516180f93640c79f59705c">PacketPriority</a> </td>
- <td class="paramname"><em>def</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">Default</td><td>packet priority to use for object creation, destruction, and serializations </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a3909030c3ad377e9b2ac1afc0e78889f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::SetDefaultPacketReliability </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="PacketPriority_8h.html#ae41fa01235e99dced384d137fa874a7e">PacketReliability</a> </td>
- <td class="paramname"><em>def</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">Default</td><td>packet reliability to use for object creation, destruction, and serializations </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a916816210240e1f1d38478cea311999e"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void RakNet::ReplicaManager3::SetNetworkIDManager </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> * </td>
- <td class="paramname"><em>_networkIDManager</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__REPLICA__MANAGER__GROUP3.html#ga44b59af8e882248f61aa41d8ace38bf7">WorldId</a> </td>
- <td class="paramname"><em>worldId</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the networkIDManager instance that this plugin relys upon.<br/>
- Uses whatever instance is attached to <a class="el" href="classRakNet_1_1RakPeerInterface.html" title="The main interface for network communications.">RakPeerInterface</a> if unset.<br/>
- To support multiple worlds, you should set it to a different manager for each instance of the plugin </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">_networkIDManager</td><td>The externally allocated <a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> instance for this plugin to use. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">worldId</td><td>Used for multiple worlds. World 0 is created automatically by default. See <a class="el" href="classRakNet_1_1ReplicaManager3.html#aa0c70560e7dd9bda8b50ff3909f78248" title="ReplicaManager3 can support multiple worlds, where each world has a separate NetworkIDManager, list of connections, replicas, etc A world with id 0 is created automatically. If you want multiple worlds, use this function, and ReplicaManager3::SetNetworkIDManager() to have a different NetworkIDManager instance per world.">AddWorld()</a> </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li>D:/temp/RakNet_PC/Source/<a class="el" href="ReplicaManager3_8h.html">ReplicaManager3.h</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Mon Jun 2 2014 20:10:29 for RakNet by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.2
- </small></address>
- </body>
- </html>
|