Removed write of every packet
This commit is contained in:
@@ -246,13 +246,13 @@ export class UnityWebSocket {
|
||||
return;
|
||||
}
|
||||
|
||||
writeFileSync(
|
||||
join(
|
||||
this._Main.dataPath,
|
||||
`tempdebug-${message.type}-${new Date().getTime()}.json`,
|
||||
),
|
||||
JSON.stringify(message, null, 4),
|
||||
);
|
||||
// writeFileSync(
|
||||
// join(
|
||||
// this._Main.dataPath,
|
||||
// `tempdebug-${message.type}-${new Date().getTime()}.json`,
|
||||
// ),
|
||||
// JSON.stringify(message, null, 4),
|
||||
// );
|
||||
|
||||
switch (message.type) {
|
||||
case 'heartbeat_data':
|
||||
|
||||
Reference in New Issue
Block a user