mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 07:32:35 +00:00
14 lines
262 B
Ruby
14 lines
262 B
Ruby
module CyberarmEngine
|
|
module Networking
|
|
class Peer
|
|
attr_reader :id, :hostname, :port, :data
|
|
def initialize(id:, hostname:, port:)
|
|
@id = id
|
|
@hostname = hostname
|
|
@port = port
|
|
|
|
@data = {}
|
|
end
|
|
end
|
|
end
|
|
end |