C# (CSharp) GameFramework.Story.Commands Namespace

Сlasses

Name Description
ActiveSceneCommand activescene(target_scene_id, obj_id);
AddComponentCommand addcomponent(name,value)[obj("varname")];
AddGlobalDataCommand addglobaldata(key, val);
AddItemCommand additem(guid, itemid, num);
AddMemberCommand addmember(guid, linkid, level);
AddUserDataCommand adduserdata(guid, key, val);
AreaDetectCommand areadetect(pos,radius,type,callback)[set(var,val)];
BindUiCommand bindui(gameobject){ var("@varname","Panel/Input"); inputs("",...); toggles("",...); sliders("",...); dropdowns("",...); onevent("button","eventtag","Panel/Button"); };
BindUiCommand.EventInfo
BindUiCommand.VarInfo
BlackboardClearCommand blackboardclear();
BlackboardSetCommand blackboardset(name,value);
CameraFollowCommand camerafollow(npc_unit_id1,npc_unit_id2,...)[touser(userid)];
CameraFollowPathCommand camerafollowpath()[touser(userid)];
CameraFollowRangeCommand camerafollowrange(npc_unit_id_begin,npc_unit_id_end)[touser(userid)];
CameraLookCommand cameralookat(npc_unit_id)[touser(userid)]; or cameralookat(vector3(x,y,z))[touser(userid)];
ChangeRoomSceneCommand changeroomscene(target_scene_id);
ChangeSceneCommand changescene(target_scene_id, obj_id);
ClearGlobalDatasCommand clearglobaldatas(guid);
ClearItemsCommand clearitems(guid);
ClearMembersCommand clearmembers(guid);
ClearUserDatasCommand clearuserdatas(guid);
CreateNpcCommand createnpc(npc_unit_id,vector3(x,y,z),dir,camp,linkId[,ai,stringlist("param1 param2 param3 ..."),leaderId])[objid("@objid")];
CreateSceneLogicCommand createscenelogic(config_id,logic_id,stringlist("param1 param2 param3 ..."));
DestroyNpcCommand destroynpc(npc_unit_id);
DestroyNpcWithObjIdCommand destroynpcwithobjid(npc_obj_id);
DestroySceneLogicCommand destroyscenelogic(config_id);
FireMessageCommand firemessage(msgid,arg1,arg2,...);
GfxClearCommand gfxclear();
GfxSetCommand gfxset(name,value);
HighlightPromptCommand highlightprompt(userguid,dictid,arg1,arg2,...);
LockFrameCommand lockframe(scale)[touser(userid)];
MarkControlByStoryCommand markcontrolbystory(objid,true_or_false);
NotifyChangeSceneCommand notifychangescene(target_scene_id);
NpcAddImpactCommand npcaddimpact(unit_id, impactid, arg1, arg2, ...)[seq("@seq")];
NpcAddSkillCommand npcaddskill(unit_id, skillid);
NpcAnimationCommand npcanimation(unit_id, anim);
NpcAttackCommand npcattack(npc_unit_id[,target_unit_id]);
NpcCastSkillCommand npccastskill(unit_id, skillid, arg1, arg2, ...);
NpcEnableAiCommand enableai(npc_unit_id,true_or_false);
NpcFaceCommand npcface(npc_unit_id,dir);
NpcListenCommand npclisten(unit_id, 消息类别, true_or_false);
NpcMoveCommand npcmove(npc_unit_id,vector3(x,y,z));
NpcMoveWithWaypointsCommand npcmovewithwaypoints(npc_unit_id,vector3list("1 2 3 4 5 6"));
NpcPatrolCommand npcpatrol(npc_unit_id,vector3list("1 2 3 4 5 6")[,isloop]);
NpcPursuitCommand npcpursuit(unit_id, target_obj_id);
NpcRemoveImpactCommand npcremoveimpact(unit_id, seq);
NpcRemoveSkillCommand npcremoveskill(unit_id, skillid);
NpcSetAiCommand setai(unitid,ai_logic_id,stringlist("param1 param2 param3 ..."));
NpcSetAiTargetCommand setaitarget(unitid,targetId);
NpcSetCampCommand setcamp(npc_unit_id,camp_id);
NpcSetFormationCommand setformation(npc_unit_id,index);
NpcSetSummonSkillIdCommand
NpcSetSummonerIdCommand
NpcStopCommand npcstop(npc_unit_id);
NpcStopSkillCommand npcstopskill(unit_id);
ObjAddImpactCommand objaddimpact(obj_id, impactid, arg1, arg2, ...)[seq("@seq")];
ObjAddSkillCommand objaddskill(obj_id, skillid);
ObjAnimationCommand objanimation(obj_id, anim[, normalized_time]);
ObjAnimationParamCommand objanimationparam(obj_id) { float(name,val); int(name,val); bool(name,val); trigger(name,val); };
ObjAnimationParamCommand.ParamInfo
ObjAttackCommand objattack(npc_obj_id[,target_obj_id]);
ObjCastSkillCommand objcastskill(obj_id, skillid, arg1, arg2, ...);
ObjEnableAiCommand objenableai(obj_id, true_or_false);
ObjFaceCommand objface(obj_id, dir);
ObjListenCommand objlisten(unit_id, 消息类别, true_or_false);
ObjMoveCommand objmove(obj_id, vector3(x,y,z));
ObjMoveWithWaypointsCommand objmovewithwaypoints(obj_id, vector3list("1 2 3 4 5 6"));
ObjPatrolCommand objpatrol(npc_obj_id,vector3list("1 2 3 4 5 6")[,isloop]);
ObjPursuitCommand objpursuit(obj_id, target_obj_id);
ObjRemoveImpactCommand objremoveimpact(obj_id, seq);
ObjRemoveSkillCommand objremoveskill(obj_id, skillid);
ObjSetAiCommand objsetai(objid,ai_logic_id,stringlist("param1 param2 param3 ..."));
ObjSetAiTargetCommand objsetaitarget(objid,targetid);
ObjSetCampCommand objsetcamp(objid,camp_id);
ObjSetCommand objset(uniqueid,localname,value);
ObjSetFormationCommand objsetformation(obj_id, index);
ObjSetSummonSkillIdCommand
ObjSetSummonerIdCommand
ObjStopCommand objstop(obj_id);
ObjStopSkillCommand objstopskill(obj_id);
OpenUrlCommand openurl(url);
PauseAllMessageHandlerCommand pauseallmessagehandler(msgid1,msgid2,...);
PauseSceneLogicCommand pausescenelogic(scene_logic_config_id,true_or_false);
PauseStoryCommand pausestory(storyid1,storyid2,...);
PreloadCommand preload(objresid1,objresid2,...);
PublishGfxEventCommand publishgfxevent(ev_name,group,arg1,arg2,...)[touser(userid)];
QuitCommand quit();
ReduceItemCommand reduceitem(guid, itemid, num);
RemoveGlobalDataCommand removeglobaldata(key, type);
RemoveItemCommand removeitem(guid, id_or_guid);
RemoveMemberCommand removemember(guid, id_or_guid);
RemoveUserDataCommand removeuserdata(guid, key, type);
RestartTimeoutCommand restarttimeout(scene_logic_config_id[,timeout]);
ResumeAllMessageHandlerCommand resumeallmessagehandler(msgid1,msgid2,...);
ResumeStoryCommand resumestory(storyid1,storyid2,...);
SendClientStoryMessageCommand sendclientstorymessage(msg,arg1,arg2,...)[touser(userid)];
SendGfxMessageCommand sendgfxmessage(objname,msg,arg1,arg2,...)[touser(userid)];
SendGfxMessageWithTagCommand sendgfxmessagewithtag(tagname,msg,arg1,arg2,...)[touser(userid)];
SendMailCommand sendmail(guid, title, content, sender, levelDemand, validPeriod, money, gold, item1, item1num, item2, item2num, ...);
SendRoomStoryMessageCommand sendroomstorymessage(msg,arg1,arg2,...);
SendServerStoryMessageCommand sendserverstorymessage(msg,arg1,arg2,...)[touser(userid)];
SendSkillMessageCommand sendskillmessage(actorid,skillid,seq,msg,arg1,arg2,...);
SetActorScaleCommand setactorscale(name,value);
SetAttrCommand setattr(objid,attrname,value);
SetEnergyCommand setenergy(objid,value);
SetHpCommand sethp(objid,value);
SetLeaderIdCommand setleaderid([objid,]leaderid);
SetLevelCommand setlevel(objid,value);
SetStoryStateCommand setstorystate(0_or_1);
SetUnitIdCommand setunitid(obj_id, dir);
SetVisibleCommand setvisible(objid,value);
ShowDlgCommand showdlg(storyDlgId)[touser(userid)];
StartStoryCommand startstory(story_id);
StopStoryCommand stopstory(story_id);
SyncItemsCommand syncitems(guid);
SyncMembersCommand syncmembers(guid);
WaitAllMessageCommand waitallmessage(msgid1,msgid2,...)[set(var,val)timeoutset(timeout,var,val)];
WaitAllMessageHandlerCommand waitallmessagehandler(msgid1,msgid2,...)[set(var,val)timeoutset(timeout,var,val)];
WaitStoryCommand waitstory(storyid1,storyid2,...)[set(var,val)timeoutset(timeout,var,val)];