本文整理汇总了C++中object::GetInvis方法的典型用法代码示例。如果您正苦于以下问题:C++ object::GetInvis方法的具体用法?C++ object::GetInvis怎么用?C++ object::GetInvis使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类object
的用法示例。
在下文中一共展示了object::GetInvis方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: do_look_inside_obj
mixed do_look_inside_obj(object ob,mixed arg) {
if(ob->GetInvis(0) && !archp(this_player()) &&
base_name(ob) != LIB_BASE_DUMMY && !inherits(LIB_BASE_DUMMY,ob) ){
return write("There is no "+arg+" here.");
}
return (mixed)ob->eventShowInterior(this_player());
}
示例2: do_look_at_obj_word_obj
mixed do_look_at_obj_word_obj(object target, object storage, mixed arg) {
if(target->GetInvis(0) && !archp(this_player()) &&
base_name(target) != LIB_BASE_DUMMY && !inherits(LIB_BASE_DUMMY,target) ){
return write("There is no "+arg+" here.");
}
return (mixed)target->eventShow(this_player());
}
示例3: do_look_at_obj
varargs mixed do_look_at_obj(object ob, mixed arg) {
if(ob->GetInvis(0) && !archp(this_player()) &&
base_name(ob) != LIB_BASE_DUMMY && !inherits(LIB_BASE_DUMMY,ob) ){
write("There is no "+arg+" here.");
return 1;
}
return ob->eventShow(this_player());
}