NScumm.Sword1.Logic.cfnClickInteract C# (CSharp) 메소드

cfnClickInteract() 개인적인 메소드

private cfnClickInteract ( SwordObject cpt, int id, int target, int d, int e, int f, int z, int x ) : int
cpt SwordObject
id int
target int
d int
e int
f int
z int
x int
리턴 int
        private int cfnClickInteract(SwordObject cpt, int id, int target, int d, int e, int f, int z, int x)
        {
            SwordObject tar = _objMan.FetchObject((uint)target);
            cpt = _objMan.FetchObject(PLAYER);
            cpt.tree.script_level = 0;
            cpt.tree.script_pc[0] = tar.interact;
            cpt.tree.script_id[0] = tar.interact;
            cpt.logic = LOGIC_script;
            return SCRIPT_STOP;
        }