class Rosegold::RemoteSlot

Overview

Remote slot tracking - follows vanilla's approach This tracks what the server thinks each slot should contain

Defined in:

rosegold/inventory/remote_slot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(slot : Rosegold::Slot = Rosegold::Slot.new) #

[View source]

Instance Method Detail

def force(slot : Slot) #

Force update remote slot (when server sends updates)


[View source]
def matches?(local_slot : Rosegold::Slot) : Bool #

Check if remote slot matches current local slot


[View source]
def slot : Rosegold::Slot #

[View source]