func (mob *Mob) SendUpdate(writer io.Writer) (err error) { if err = proto.WriteEntity(writer, mob.EntityId); err != nil { return } err = mob.PointObject.SendUpdate(writer, mob.EntityId, mob.look.ToLookBytes()) return }
func (item *Item) SendUpdate(writer io.Writer) (err error) { if err = proto.WriteEntity(writer, item.EntityId); err != nil { return } err = item.PointObject.SendUpdate(writer, item.EntityId, &LookBytes{0, 0}) return }
func (object *Object) SendUpdate(writer io.Writer) (err error) { if err = proto.WriteEntity(writer, object.EntityId); err != nil { return } // TODO: Should this be the Rotation information? err = object.PointObject.SendUpdate(writer, object.EntityId, &LookBytes{0, 0}) return }