mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Stubbed files for simplified networking system
This commit is contained in:
10
lib/networking/backend/peer.rb
Normal file
10
lib/networking/backend/peer.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class Peer
|
||||
attr_reader :id, :hostname, :port, :data
|
||||
def initialize(id:, hostname:, port:)
|
||||
@id = id
|
||||
@hostname = hostname
|
||||
@port = port
|
||||
|
||||
@data = {}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user