This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if FISHNET_STABLE_MODE | |
| using FishNet.Documenting; | |
| using FishNet.Managing.Timing; | |
| using FishNet.Object.Synchronizing.Internal; | |
| using FishNet.Serializing; | |
| using System.Collections.Generic; | |
| using System.Runtime.CompilerServices; | |
| namespace FishNet.Object.Synchronizing | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To use this, you need to have a neovim installation and neovide. In unity preferences, browse to the .bat file and set it as external script editor. | |
| Here are the editor args needed to launch: `"$(ProjectPath)" $(File) $(Line)` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using FishNet; | |
| using FishNet.Object; | |
| using FishNet.Utility.Performance; | |
| using UnityEngine; | |
| public class ReproScript : NetworkBehaviour | |
| { | |
| public GameObject spawnObject; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using System.Collections.Generic; | |
| using Doozy.Engine.UI.Base; | |
| using Rewired; | |
| using Sirenix.OdinInspector; | |
| using UnityEngine; | |
| public class RewiredToUIAction : MonoBehaviour | |
| { | |
| public UIAction Action; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import nodemailer from 'nodemailer'; | |
| import nodemailerMock from 'nodemailer-mock'; | |
| import config from './config'; | |
| /** | |
| * Mailer config | |
| */ | |
| let transporter; | |
| if(process.env.NODE_ENV === 'test') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var viewer = new Cesium.Viewer('cesiumContainer'); | |
| var Nuke = function(){ | |
| var self = this; | |
| this.degrees = [0, 0, 5000]; | |
| this.heading = 0; | |
| this.pitch = Cesium.Math.toRadians(270); | |
| this.roll = 0; | |
| this.position = Cesium.Cartesian3.fromDegrees.apply(null, this.degrees); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var viewer = new Cesium.Viewer('cesiumContainer'); | |
| var Nuke = function(){ | |
| var self = this; | |
| this.degrees = [0, 0, 5000]; | |
| this.heading = 0; | |
| this.pitch = Cesium.Math.toRadians(270); | |
| this.roll = 0; | |
| this.position = Cesium.Cartesian3.fromDegrees.apply(null, this.degrees); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var async = require('async'); | |
| var benchtest = require('./' + process.argv[2]); | |
| benchtest.prepareClient(parseInt(process.argv[4]), process.argv[3]); | |
| console.log(JSON.stringify({message: 'start'})); | |
| var sockets = parseInt(process.argv[5]); | |
| var messages = parseInt(process.argv[6]); | |
| var q = async.queue(function(task, callback){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var async = require('async'); | |
| var benchtest = require('./' + process.argv[2]); | |
| benchtest.prepareClient(parseInt(process.argv[4]), process.argv[3]); | |
| console.log(JSON.stringify({message: 'start'})); | |
| var sockets = parseInt(process.argv[5]); | |
| var messages = parseInt(process.argv[6]); | |
| var q = async.queue(function(task, callback){ |