From 2113a7be01c4fb3024a15345a9087ee7b384c48e Mon Sep 17 00:00:00 2001 From: kercylan98 Date: Fri, 5 May 2023 15:18:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E4=BD=93=E6=8E=A5=E5=8F=A3=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/builtin/actor.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/builtin/actor.go b/game/builtin/actor.go index 867fdf0..aed64c9 100644 --- a/game/builtin/actor.go +++ b/game/builtin/actor.go @@ -10,6 +10,10 @@ type Actor struct { guid int64 } +func (slf *Actor) SetGuid(guid int64) { + slf.guid = guid +} + func (slf *Actor) GetGuid() int64 { return slf.guid }