| 47 | } |
| 48 | |
| 49 | void NetInterface::initRandomData() |
| 50 | { |
| 51 | mRandomDataInitialized = true; |
| 52 | U32 seed = Platform::getRealMilliseconds(); |
| 53 | |
| 54 | if(Journal::IsPlaying()) |
| 55 | Journal::Read(&seed); |
| 56 | else if(Journal::IsRecording()) |
| 57 | Journal::Write(seed); |
| 58 | |
| 59 | MRandomR250 myRandom(seed); |
| 60 | for(U32 i = 0; i < 12; i++) |
| 61 | mRandomHashData[i] = myRandom.randI(); |
| 62 | } |
| 63 | |
| 64 | void NetInterface::addPendingConnection(NetConnection *connection) |
| 65 | { |
nothing calls this directly
no test coverage detected