Trait screeps::traits::HasId

source ·
pub trait HasId {
    // Required method
    fn raw_id(&self) -> RawObjectId;
}

Required Methods§

source

fn raw_id(&self) -> RawObjectId

Object ID of the object, which can be used to efficiently fetch a fresh reference to the object on subsequent ticks.

Implementors§